Mercurial > dwindows
diff mac/dw.m @ 1193:698875cfe8e5
Fixed the indeterminate percent bar should be animated on the Mac.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 28 Sep 2011 08:36:34 +0000 |
parents | 76262040ed5f |
children | 196cd8a8e6a8 |
line wrap: on
line diff
--- a/mac/dw.m Wed Sep 28 08:31:30 2011 +0000 +++ b/mac/dw.m Wed Sep 28 08:36:34 2011 +0000 @@ -3743,12 +3743,18 @@ /* Handle indeterminate */ if(position == DW_PERCENT_INDETERMINATE) + { [percent setIndeterminate:YES]; + [percent startAnimation:percent]; + } else { /* Handle normal */ if([percent isIndeterminate]) + { + [percent stopAnimation:percent]; [percent setIndeterminate:NO]; + } [percent setDoubleValue:(double)position]; } }