Bugfix: spuriously display button as clicked.
This commit is contained in:
parent
e52b8ef401
commit
030dd9245f
|
@ -40,7 +40,7 @@ void ButtonMappingWidget::onNanoDisplay()
|
|||
|
||||
bool ButtonMappingWidget::onMouse(const MouseEvent &ev)
|
||||
{
|
||||
isClicked = ev.press;
|
||||
isClicked = ev.press && contains(ev.pos);
|
||||
return ButtonEventHandler::mouseEvent(ev);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue