Style fix.
This commit is contained in:
@@ -410,7 +410,7 @@ BScrollBar::ValueChanged(float newValue)
|
||||
{
|
||||
TRACE("BScrollBar(%s)::ValueChanged(%.1f)\n", Name(), newValue);
|
||||
|
||||
if (fTarget && newValue) {
|
||||
if (fTarget) {
|
||||
// cache target bounds
|
||||
BRect targetBounds = fTarget->Bounds();
|
||||
// if vertical, check bounds top and scroll if different from newValue
|
||||
|
||||
Reference in New Issue
Block a user