|
|
@@ -408,7 +408,6 @@ void Viewport::updateVisibleArea() |
|
|
|
hbar.setRangeLimits (0.0, contentBounds.getWidth());
|
|
|
|
hbar.setCurrentRange (visibleOrigin.x, contentArea.getWidth());
|
|
|
|
hbar.setSingleStepSize (singleStepX);
|
|
|
|
hbar.cancelPendingUpdate();
|
|
|
|
|
|
|
|
if (canShowHBar && ! hBarVisible)
|
|
|
|
visibleOrigin.setX (0);
|
|
|
@@ -417,7 +416,6 @@ void Viewport::updateVisibleArea() |
|
|
|
vbar.setRangeLimits (0.0, contentBounds.getHeight());
|
|
|
|
vbar.setCurrentRange (visibleOrigin.y, contentArea.getHeight());
|
|
|
|
vbar.setSingleStepSize (singleStepY);
|
|
|
|
vbar.cancelPendingUpdate();
|
|
|
|
|
|
|
|
if (canShowVBar && ! vBarVisible)
|
|
|
|
visibleOrigin.setY (0);
|
|
|
|