mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
- added mouse control for image scroller menu.
This commit is contained in:
parent
4155d49e59
commit
5cc165587e
1 changed files with 5 additions and 0 deletions
|
@ -142,6 +142,11 @@ bool DImageScrollerMenu::MenuEvent(int mkey, bool fromcontroller)
|
|||
bool DImageScrollerMenu::MouseEvent(int type, int x, int y)
|
||||
{
|
||||
// Todo: Implement some form of drag event to switch between pages.
|
||||
if (type == MOUSE_Release)
|
||||
{
|
||||
return MenuEvent(MKEY_Enter, false);
|
||||
}
|
||||
|
||||
return DMenu::MouseEvent(type, x, y);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue