Reverted the handling of mouse move events, now the slider widget should be highlighted correctly again.
svn-id: r35667
This commit is contained in:
parent
1b41a49fc5
commit
4ec7876972
1 changed files with 1 additions and 4 deletions
|
@ -294,10 +294,7 @@ void Dialog::handleMouseMoved(int x, int y, int button) {
|
|||
_mouseWidget = w;
|
||||
}
|
||||
|
||||
// We only sent mouse move events under the following conditions:
|
||||
// 1) We have a widget in drag mode
|
||||
// 2) The widget wants to track the mouse movement
|
||||
w = _dragWidget;
|
||||
// We only sent mouse move events when the widget requests to be informed about them.
|
||||
if (w && (w->getFlags() & WIDGET_TRACK_MOUSE))
|
||||
w->handleMouseMoved(x - (w->getAbsX() - _x), y - (w->getAbsY() - _y), button);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue