diff options
Diffstat (limited to 'src/ui/gauge.cpp')
-rw-r--r-- | src/ui/gauge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/gauge.cpp b/src/ui/gauge.cpp index b1ce31d..b1fa057 100644 --- a/src/ui/gauge.cpp +++ b/src/ui/gauge.cpp @@ -56,7 +56,7 @@ bool CGauge::EventProcess(const Event &event) if ( event.type == EVENT_MOUSE_BUTTON_DOWN ) { - if ( CControl::Detect(event.mouseButton.pos) ) + if ( CControl::Detect(event.mousePos) ) { Event newEvent = event; newEvent.type = m_eventType; |