fixed scroller bug when displaying scroller before

setting initial values
This commit is contained in:
kojima committed 2001-02-25 20:47:04 +00:00
1 parent 054d7cc006
commit 64defd4d22
5 files changed
+34 -6

No files matched your search

+1 -1
View File
@@ -566,7 +566,7 @@ updateScrollerProportion(ScrollView *sPtr)
oldP = WMGetScrollerKnobProportion(sPtr->hScroller);
prop = (float)sPtr->viewport->size.width/(float)sPtr->contentView->size.width;
if (oldP == 1.0)
value = 0;
else