Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: minor cursor glitches in the Room Editor in Area edit mode #2564

Open
ivan-mogilko opened this issue Nov 1, 2024 · 0 comments
Open
Labels
context: ui/ux type: bug unexpected/erroneous behavior in the existing functionality what: editor related to the game editor

Comments

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Nov 1, 2024

Summary: when in Room Editor mouse cursor is not synced with the current editing mode at certain moments when working in any Areas mode. This is not a very serious problem, but an irritating one.

This problem seems to have 2 instances.

  1. Since 3.6.1, where the new panning controls were added, the cursor seems to reset to "arrow" each time after performing a drawing operation. For example:
  • Select a valid area (hotspot, etc)
  • Select "Rectangle" tool.
  • Hover cursor above the room, notice that the cursor displays "crosshair".
  • Hold down and draw rectangle, then release a button but try to not move the mouse when and after you do.
  • Notice that cursor turned into a "arrow" for some reason.
  • If you move mouse again, cursor will switch to "crosshair" instantly.

It looks like something breaks in cursor update logic when you release a mouse or finish drawing operation.
This does not happen in previous versions.

  1. I did not know about that earlier, but it appears that each drawing tool has a keyboard shortcut. For example, Ctrl + N toggles line drawing, Ctrl + F toggles Fill mode, Ctrl + C is Selection (weirdly enough), and so on.
    Thing is, if you switch to any mode using only keyboard shortcut, the cursor will keep an old look until you move the mouse.
    This is an older error, not a recent regression.
    EDIT: similar problem happens with Alt + LMB combo which i added very recently following a user request (b4a5886). If you hold Alt but not click yet, the cursor does not update, unless you move the mouse around.
@ivan-mogilko ivan-mogilko added type: bug unexpected/erroneous behavior in the existing functionality what: editor related to the game editor context: ui/ux labels Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context: ui/ux type: bug unexpected/erroneous behavior in the existing functionality what: editor related to the game editor
Projects
None yet
Development

No branches or pull requests

1 participant