diff --git a/headers/private/interface/MenuWindow.h b/headers/private/interface/MenuWindow.h index e4f32ee7ab..80c03716d7 100644 --- a/headers/private/interface/MenuWindow.h +++ b/headers/private/interface/MenuWindow.h @@ -36,7 +36,7 @@ public: void DetachScrollers(); void SetSmallStep(float step); - void GetSteps(float* _smallStep, float* _largeStep); + void GetSteps(float* _smallStep, float* _largeStep) const; bool HasScrollers() const; bool CheckForScrolling(const BPoint& cursor); bool TryScrollBy(const float& step); diff --git a/src/kits/interface/MenuWindow.cpp b/src/kits/interface/MenuWindow.cpp index a3900699b0..51980e4d5b 100644 --- a/src/kits/interface/MenuWindow.cpp +++ b/src/kits/interface/MenuWindow.cpp @@ -71,7 +71,7 @@ public: using namespace BPrivate; -const int kScrollerHeight = 10; +const int kScrollerHeight = 12; BMenuScroller::BMenuScroller(BRect frame) @@ -367,7 +367,7 @@ BMenuWindow::SetSmallStep(float step) void -BMenuWindow::GetSteps(float* _smallStep, float* _largeStep) +BMenuWindow::GetSteps(float* _smallStep, float* _largeStep) const { if (_smallStep != NULL) *_smallStep = fScrollStep;