Astrabit-ST / Luminol

An RPG Maker XP-VX Ace rewrite, written in Rust with love 💕
https://luminol.dev/
GNU General Public License v3.0
95 stars 11 forks source link

Change drag events in the map editor into pointer down events #118

Closed white-axe closed 3 months ago

white-axe commented 3 months ago

Connections

Description This pull request changes the trigger for drawing tiles on the map and for selecting tiles in the tilepicker from dragging the mouse to just having the primary mouse button down. This allows tiles to be drawn/selected immediately when the primary mouse button is down instead of requiring the user to move the mouse slightly.

Testing It should no longer be required to drag the mouse slightly for tile drawing/selection to be triggered, although they should still trigger when dragging the mouse. In addition, they should still only trigger when the primary mouse button is down rather than any mouse button.

Checklist