* White space cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27861 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -822,21 +822,18 @@ BMenu::MessageReceived(BMessage *msg)
|
||||
msg->FindFloat("be:wheel_delta_y", &deltaY);
|
||||
if (deltaY == 0)
|
||||
return;
|
||||
|
||||
|
||||
BMenuWindow *window = dynamic_cast<BMenuWindow *>(Window());
|
||||
if (window == NULL)
|
||||
return;
|
||||
|
||||
window->TryScrollBy(deltaY);
|
||||
|
||||
|
||||
window->TryScrollBy(deltaY);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
BView::MessageReceived(msg);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -2769,4 +2766,4 @@ MenuPrivate::QuitTracking(bool thisMenuOnly)
|
||||
fMenu->_QuitTracking(thisMenuOnly);
|
||||
}
|
||||
|
||||
} ;
|
||||
} // namespace BPrivate
|
||||
|
||||
Reference in New Issue
Block a user