mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
fixed scroller bug when displaying scroller before
setting initial values
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user