Commit Graph

18 Commits

Author SHA1 Message Date
tsrk cf1ee2ba35
test(TestSceneOsuTouchInput): fix `InputTrigger` depth 2023-06-18 18:26:08 +02:00
tsrk c8afd057bd
test(TestSceneOsuTouchInput): simplify draw hierarchy
An InputTrigger is considered active as long as
2023-06-18 17:51:17 +02:00
tsrk b960741ff7
test: adapt touch input test to changes 2023-06-16 18:54:19 +02:00
Dean Herbert b0c09df259 Merge branch 'master' into gameplay/key-counter-abstraction 2023-04-03 15:33:35 +09:00
Dean Herbert cc408470f4 Add test coverage of second touch moving but not resulting in cursor movement 2023-03-21 16:14:44 +09:00
Dean Herbert 42359a9754 Fix previous touch action not being released when it's not a direct touch 2023-03-15 16:43:20 +09:00
Dean Herbert 6c4f596a9a Make osu! touch input aware of the distance travelled of a non-direct touch 2023-03-15 16:43:20 +09:00
Bartłomiej Dach f711915e5f
Remove unused using directive 2023-03-07 21:16:30 +01:00
Dean Herbert 28520414aa Move `KeyCounter` components to `HUD` namespace 2023-03-07 16:41:39 +09:00
tsrk 8c94b77de1
refactor(InputTrigger): move out of KCD
I love JetBrains Rider.
2023-02-22 15:05:07 +00:00
tsrk 6193aeed12
fix(TestSceneOsuTouchInput): missing Value call 2023-02-17 00:13:45 +00:00
tsrk c61fac578c
style(KeyCounter): rename methods and arguments
As for the second suggestion in
https://github.com/ppy/osu/pull/22654#discussion_r1109047998,
I went with the first one as only one Trigger actually uses this
argument for rewinding.
2023-02-16 23:15:03 +00:00
tsrk 6340730427
refactor(KeyCounter): remove circularity 2023-02-16 21:59:39 +00:00
tsrk 076eb81b21
refactor: rename trigger classes
Makes it better to understand their purpose
2023-02-15 21:46:13 +00:00
tsrk a644fae364
style(KeyCounter): rename `(Un)lit` methods to `(Un)light` 2023-02-15 21:41:41 +00:00
tsrk 157bba7830
refactor: rename `Trigger` class to `InputTrigger` 2023-02-15 21:41:36 +00:00
tsrk 11d0e185b8
refactor: separate impl of KeyCounterDisplay
This allows for different layouts of display. Idk, maybe someone would
want to mix both variants? (don't do this please). This commit is mostly
prep for further changes.
2023-02-13 01:36:12 +00:00
Dean Herbert e4a79d8581 Rename test scene to differentiate from other ruleset touch tests 2023-01-25 15:01:05 +09:00