mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 15:55:45 +00:00
Revert old change - proper fix is to avoid playing in portrait mode :)
svn-id: r12605
This commit is contained in:
parent
387860213e
commit
1cbefa8e21
@ -167,12 +167,7 @@ CheckboxWidget::CheckboxWidget(GuiObject *boss, int x, int y, int w, int h, cons
|
||||
}
|
||||
|
||||
void CheckboxWidget::handleMouseUp(int x, int y, int button, int clickCount) {
|
||||
#ifndef _WIN32_WCE
|
||||
if (isEnabled() && x >= 0 && x < _w && y >= 0 && y < _h) {
|
||||
#else
|
||||
// Limit the active zone on the checkbox for stylus users
|
||||
if (isEnabled() && x >= 0 && x < 14 && y >= 0 && y < 14) {
|
||||
#endif
|
||||
toggleState();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user