Element in UI moves and makes click event not trigger the expected action

UI & UX
BevapDin [github] · 1 year ago

Issue description

Place the mouse cursor is over the green button for the "new refugees" message, but to the far right of it. It should still be over the button, so when I click, the message dialog should appear.

Image

But when I press the mouse button, a small scroll bar (?) appears under the cursor and the green button moves a few pixels to the left. The click now goes to that scroll bar and not to the green button. Consequently the message dialog does not appear (nothing happens).
Image

It's a bit confusing when I click an element in the UI and sometimes it does trigger the action (when I position the cursor far enough to the left) and sometimes it doesn't (when I accidentally place the cursor to far to the right). Perhaps related to Alerts sometimes shift alignment on click, so the alert selection is ignored.

Reproduction steps

See above

Game version and build number

Update 3 | v0.7.5c (b455)

Operating system

Windows

19 Showing 1–1 of 1