[Ohrrpgce] [ohrrpgce/ohrrpgce] Make all menus scrollable by dragging the left mouse button (#31)

James Paige notifications at github.com
Sat Aug 24 14:47:05 PDT 2019


Right now menus support scrolling with the right-button. This is fine and nice for a real mouse.

It is not good enough (barely usable?) for Android touch screens. Dragging with two fingers does actually create a right-drag, but it is too hard to do precisely, and too easy to have spurious unwanted left clicks before and after.

The solution is to allow scrolling with the left button.

Since this will only happen if a left drag exceeds a given minimum distance threshold, it should not interfere with normal clicking of items to activate them. After you have dragged far enough to start a scroll, the release of the mouse button should not trigger a menu item activation.

This applies not just to user defined menus, but also needs to apply to the save/load menus, the inventory, the sell menu, and the equip menu (anything I forgot?) 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/31
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20190824/64c9ecf9/attachment-0001.html>


More information about the Ohrrpgce mailing list