-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Introduce common structure for key counters #22654
Merged
Merged
Changes from 34 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
74a58fb
refactor: separate things in KeyCounter
ItsShamed 11d0e18
refactor: separate impl of KeyCounterDisplay
ItsShamed aa2e002
refactor: hide trigger presence from content
ItsShamed 157bba7
refactor: rename `Trigger` class to `InputTrigger`
ItsShamed df06338
fix(KeyCounter): don't override Handle
ItsShamed a644fae
style(KeyCounter): rename `(Un)lit` methods to `(Un)light`
ItsShamed 076eb81
refactor: rename trigger classes
ItsShamed b0a2e69
style: nullable pass on `KeyCounterDisplay`
ItsShamed e9dcc25
reafactor: simplify type checking
ItsShamed 6340730
refactor(KeyCounter): remove circularity
ItsShamed ddd6c1a
refactor(KeyCounter): address bindables issues
ItsShamed c61fac5
style(KeyCounter): rename methods and arguments
ItsShamed e3ca751
refactor: make `FillFlowContainer` read-only
ItsShamed 6193aee
fix(TestSceneOsuTouchInput): missing Value call
ItsShamed d0e8d65
style(KeyCounter): rename `IsLit` to `IsActive`
ItsShamed c94e647
style(KeyCounterDisplay): remove type check
ItsShamed 8830e06
fix: compilation
ItsShamed 5bec2d7
style(KeyCounter): `forwardPlayback`
ItsShamed 42a5a06
style(KeyCounter): fields and methods visiblity
ItsShamed 1beec71
refactor(KeyCounterDisplay): apply suggestions
ItsShamed 8c94b77
refactor(InputTrigger): move out of KCD
ItsShamed 6307b39
style: use Trigger initialisation
ItsShamed 8f6df5e
Merge branch 'master' into gameplay/key-counter-abstraction
peppy 15d6505
Tidy up `Add` method logic
peppy 2852041
Move `KeyCounter` components to `HUD` namespace
peppy 97ba236
Add basic xmldoc to `KeyCounter` classes
peppy 6a7c4d0
Remove `NRT` disables in new classes
peppy f711915
Remove unused using directive
bdach 98f40b2
Improve documentation of `InputTrigger`
bdach 12af002
Reorder and add xmldoc to `KeyCounter` members
bdach 44297a7
refactor: make KCD a `CompositeDrawable`
ItsShamed 5b0db94
docs: add XMLDoc for methods in KCD
ItsShamed 5d15426
refactor: make `Counters` return a `Container`
ItsShamed d806b85
revert: make `counters` an `IEnumerable` again
ItsShamed 8908648
Fix super-dodgy cast of `IEnumerable` to `Drawable`
peppy 9e444af
Use object initialisers and fix order of initialisation vs add
peppy 5f9b13a
Rename `Add`/`AddRange` methods as they are no longer conflicting wit…
peppy b0c09df
Merge branch 'master' into gameplay/key-counter-abstraction
peppy 6239789
Fix missing using statements in multiple test scenes
peppy 432f698
Merge branch 'master' into gameplay/key-counter-abstraction
bdach e5d57a6
Fix incorrect indent
bdach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the dodgiest code I've seen in a long time. To the point my brain has trouble comprehending how it even compiles..