Commit Graph

427 Commits

Author SHA1 Message Date
ac08498f35 Use plum colour scheme in multiplayer to match rest of multiplayer screens 2022-05-05 22:16:54 +02:00
79e1b93b30 Close customisation area on escape press before exiting 2022-05-05 19:17:36 +02:00
2cc56a4b19 Fix hidden issue with automatic customisation panel show logic
Doesn't cause tests to fail headless, but they do fail in the test
browser.
2022-05-05 19:17:36 +02:00
3eead5a6a3 Rename FlushAnimation to FlushPendingSelections to better match purpose 2022-05-04 19:40:08 +09:00
f5fa41356e Rewrite mod instance management again to pass tests 2022-05-03 22:31:34 +02:00
970361676b Fix setting items not creating if mods initially not empty 2022-05-03 21:45:40 +02:00
e3641213e1 Always hide unimplemented mods on mod select screen 2022-05-03 21:45:40 +02:00
f91ee4b042 Reset panel mod instance settings to defaults on deselect 2022-05-03 21:45:40 +02:00
7c04bf5c53 Refactor mod reference management to meet test expectations 2022-05-03 21:45:40 +02:00
fe59f4ae58 Fix multiselection operation not flushing on close 2022-05-03 21:45:39 +02:00
746a4a7403 Fix mod column using wrong equality type 2022-05-03 21:45:39 +02:00
652e022fd6 Merge pull request #17973 from bdach/mod-overlay/dim-columns-offscreen
Dim offscreen columns on new mod select overlay
2022-04-29 11:55:27 +09:00
f300b62877 Add ScrollIntoView method which accepts an offset to allow usage in mod select 2022-04-28 20:03:54 +09:00
f3a0e2ed55 Increase fade duration 2022-04-28 14:59:39 +09:00
1a345c06c6 Fix regression in nested scroll behaviour due to the top level scroll container's type changing 2022-04-27 17:10:27 +09:00
b29af28028 Fix mod panels not ignoring super key presses
Most other usages have this included. Noticed that the panel was
changing state when exiting the game using cmd-w.

Would probably be nice to have an exposed `HasAnyModifierPressed` helper
property.
2022-04-27 16:55:17 +09:00
a849bfcf60 Rewrite dim test to pass headless
Unfortunately neuters the test a touch, but alas.
2022-04-26 23:11:41 +02:00
921e8af3b0 Use more lenient column bounds for checking active state 2022-04-26 22:54:54 +02:00
21377d2a4d Fix inactive columns flickering on and off mid-scroll 2022-04-26 22:43:58 +02:00
94d07e147f Move dimming logic to custom scroll container 2022-04-26 22:37:40 +02:00
e9c9c764ca Fix column dim state changing when scrolling past extent 2022-04-26 22:26:58 +02:00
13a36f2e51 Scroll to column when mouse is released rather than pressed 2022-04-26 22:01:24 +02:00
b0d6e16658 Invert data flow in column dim implementation 2022-04-26 21:57:19 +02:00
e13d0d02ae Use better way of calculating whether columns are fully on screen 2022-04-25 23:08:05 +02:00
e384e074fb Fix asymmetric margin of column scroll 2022-04-25 23:08:05 +02:00
09c08248c4 Fix bounce when scrolling to first/last column 2022-04-25 23:08:05 +02:00
ebc8429495 Dim offscreen columns & scroll to them if clicked 2022-04-25 23:08:04 +02:00
e246357b36 Merge branch 'master' into sheared-overlay-container-click-away 2022-04-22 22:26:35 +02:00
82a1d1cc2e Fix multiplier display not blocking input 2022-04-22 15:22:58 +09:00
b7c11cdb8e Deselect old incompatible mods if any on user mod select screen 2022-04-21 23:49:30 +02:00
32722adba9 Allow mod panels to be clicked in incompatible state 2022-04-21 23:37:01 +02:00
0f4b40ab15 Add better click-to-dismiss logic for sheared overlays 2022-04-21 16:27:27 +09:00
5c0e5eb6f4 Merge pull request #17899 from Joehuu/localise-most-strings
Use existing web localisation for most hardcoded strings
2022-04-21 14:48:12 +09:00
5e5c8e78a6 Use existing web localisation for most hardcoded strings 2022-04-20 16:31:11 -07:00
4466e15bfc Rename AllowConfiguration to AllowCustomisation and simplify drawable addition 2022-04-20 23:17:29 +09:00
b722ff8dc5 Merge branch 'master' into mod-overlay/extension-points 2022-04-20 23:17:04 +09:00
65b2db5e71 Move shear constant to overlay (this is going to likely be used everywhere ever) 2022-04-20 16:30:58 +09:00
e17f224793 Fix padding mismatches 2022-04-20 16:28:52 +09:00
5c7ff363ce Move title/description to correct class 2022-04-20 16:08:00 +09:00
2ee37aeceb Reduce nesting and usage of GridContainer 2022-04-20 16:01:15 +09:00
1032dc235d Rename PopupScreenTitle to ShearedOverlayHeader 2022-04-20 16:01:15 +09:00
8d31b0bc01 Split out the base design of sheared overlay into its own abstract class
This will allow for reuse with the first-run overlay.
2022-04-20 15:50:16 +09:00
0d5ce336f4 Hide mod customisation toggle if customisation not permitted 2022-04-17 23:28:53 +02:00
881df7663d Fix filter not taking effect if applied before panel load completion 2022-04-17 23:28:53 +02:00
8af865a1c5 Fix incompatibility panel using reference equality 2022-04-17 23:28:53 +02:00
ffb5c1e86c Tweak colours on incompatibility displaying mod panel 2022-04-17 23:28:52 +02:00
20c17b8c98 Make base mod select screen abstract 2022-04-17 23:28:51 +02:00
7eebc20124 Add replacements for mod overlays used by game 2022-04-17 23:28:51 +02:00
67c44db8d5 Add extension points required for replacing old mod overlay 2022-04-17 23:28:51 +02:00
ac799aaf7a Add missing newline 2022-04-05 19:25:47 +09:00