You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unit selection popup for stacks in the open (and in allied cities)
didn't behave very well with many units: its width remained fixed to 4
and it was showing at most 12 units -- quite a small stack for a serious
attack. In addition, the last row was in some cases inaccessible due to
a scrolling bug (maybe Wayland-specific; longturn#2285).
Increase the base width of the menu to 5 units (a loaded Galleon), and
further to 6 when there are more than 25 units. Show up to 36 units
(four fully loaded Transports) at once before resorting to scrolling.
Fix the scrolling bug, which was related to scroll events with deltaY=0
being interpreted as scrolling upwards.
Closeslongturn#2285.
The unit selection popup for stacks in the open (and in allied cities)
didn't behave very well with many units: its width remained fixed to 4
and it was showing at most 12 units -- quite a small stack for a serious
attack. In addition, the last row was in some cases inaccessible due to
a scrolling bug (maybe Wayland-specific; #2285).
Increase the base width of the menu to 5 units (a loaded Galleon), and
further to 6 when there are more than 25 units. Show up to 36 units
(four fully loaded Transports) at once before resorting to scrolling.
Fix the scrolling bug, which was related to scroll events with deltaY=0
being interpreted as scrolling upwards.
Closes#2285.
Describe the bug
When there are more than 12 units on a tile, the units in the last row of the unit chooser popup cannot be selected
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It's possible to select any unit on a tile is possible.
Platform and version (please complete the following information):
The text was updated successfully, but these errors were encountered: