Commit Graph

373 Commits

Author SHA1 Message Date
3957697c48 Add pooling support to the editor 2020-11-13 17:08:20 +09:00
4ef2e9548c Pass HitObjectComposer to BlueprintContainer via ctor 2020-11-13 16:59:37 +09:00
9f333ac58a Add the ability to delete slider control points using shift+right click
Closes https://github.com/ppy/osu/issues/10672.

In two minds about how this should be implemented but went in this
direction initially. The other way would be to add local handling of
Shift-Right Click inside PathControlPointPiece (which is already doing
mouse handling itself).
2020-11-03 20:46:33 +09:00
202fe09306 Group selection actions back up in SelectionHandler 2020-10-28 22:06:48 +01:00
27c1a4c4d3 Move right-click deletion logic to be handled at a SelectionBlueprint level 2020-10-27 12:53:54 +09:00
3f8c4c57d0 Fix code style issues & restructure 2020-10-26 22:16:28 +01:00
7c388f1132 Move editor playfield border locally to osu! composer 2020-10-19 21:20:13 +02:00
4267d23d59 Move border to more appropriate namespace 2020-10-19 20:56:34 +02:00
053c7a69a6 Fix code style issues & compilation failures 2020-10-19 20:22:48 +02:00
22bde43106 Merge branch 'master' into visible-playfield-boundary 2020-10-19 18:05:28 +09:00
beec0e4193 Hide children of SelectionBlueprint when not selected 2020-10-09 14:03:13 +09:00
575046e5fd Don't update reply on add/remove (will be automatically handled by change handler events) 2020-10-02 18:21:13 +09:00
b7c276093d Add fallback case when EditorChangeHandler is not present (for tests) 2020-10-02 16:21:51 +09:00
501e02db09 Only regenerate autoplay on editor state change 2020-10-02 15:44:37 +09:00
524c2b678c Forcefully regenerate autoplay on editor changes 2020-09-28 15:48:42 +09:00
ff7c904996 Add autoplay mod in editor specific ruleset construction 2020-09-28 15:48:42 +09:00
8e6bf516d9 Merge branch 'master' into editor-ternary-buttons 2020-09-25 18:30:59 +09:00
346d14d40b Rename variables to match 2020-09-25 17:45:19 +09:00
22511c36c3 Ensure toggles are not instantiated more than once for safety 2020-09-25 17:43:09 +09:00
7b09f73fe5 Merge branch 'master' into new-combo-toggle 2020-09-25 17:33:12 +09:00
e1fc8d76fb Merge branch 'master' into editor-dont-block-keys-unnecessarily 2020-09-25 17:31:41 +09:00
b70a20e7f1 Avoid consuming keystrokes in editor when a modifier key is held down 2020-09-25 16:56:39 +09:00
da820c815e Add shortcut keys to toolbox gorup titles 2020-09-25 16:46:06 +09:00
a6298c60eb Fix button spacing 2020-09-25 16:44:37 +09:00
ae68dcd962 Add ternary toggle buttons to editor toolbox selection 2020-09-25 16:38:12 +09:00
e009264f10 Add new combo toggle to main composer interface 2020-09-25 14:10:30 +09:00
bca774a0d4 Allow BlueprintContainer to specify toggles 2020-09-25 14:09:31 +09:00
3c191cfe25 Add basic xmldoc to HitObjectComposer 2020-09-25 14:08:47 +09:00
325bfdbf71 Fix hard crash on hitting an out of range key (Q~P) 2020-09-25 13:25:42 +09:00
6ebea3f6f2 Add ability to toggle editor toggles using keyboard shortcuts (Q~P) 2020-09-24 16:24:25 +09:00
c5b684bd2e Fix typo in log when beatmap fails to load 2020-09-23 00:30:20 -07:00
432c3e17eb Fix toolbox becoming inoperable due to incorrect ordering 2020-09-11 20:23:34 +09:00
139a5acd1b Fix editor hitobjects getting masked weirdly
Closes #10124
2020-09-11 20:16:50 +09:00
6f6adb61d7 Merge pull request #10099 from peppy/add-editor-tool-icons
Add icons for editor toolbox tools
2020-09-09 22:22:58 +09:00
53a9804455 Merge branch 'master' into add-editor-tool-icons 2020-09-09 21:21:56 +09:00
d210e05629 Add a touch of spacing between toolbox groups 2020-09-09 19:20:11 +09:00
fb2aced3ac Add toggle for distance snap 2020-09-09 19:15:35 +09:00
d3957e6155 Move title specification for settings groups to constructor
Using an abstract property was awkward for this as it is being consumed
in the underlying constructor but could not be dynamically set in time from a
derived class.
2020-09-09 18:50:31 +09:00
c9f5005efd Add icons for editor toolbox tools 2020-09-09 18:40:01 +09:00
96f39dd350 Merge remote-tracking branch 'upstream/master' into visible-playfield-boundary 2020-09-05 01:50:13 -05:00
127330b8f9 Add 1ms lenience to avoid potential precision issues 2020-08-25 20:57:31 +09:00
6c7475f085 Fix snapped distances potentially exceeding the source distance
This results in slider placement including "excess" length, where the
curve is not applied to the placed path. This is generally not what we
want.

I considered adding a bool parameter (or enum) to change the
floor/rounding mode, but on further examination I think this is what we
always expect from this function.
2020-08-25 18:58:01 +09:00
0d95b768aa Rename and Move EditorPlayfieldBorder to PlayfieldBorder for general purpose 2020-07-10 07:34:48 -05:00
780611a954 Merge branch 'master' into taiko-editor 2020-06-01 15:39:02 +09:00
19be111da0 Move incorrect placed full stop
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2020-05-31 22:33:10 +09:00
590931b17c Pass hitobjects as a parameter to CreateBlueprintContainer 2020-05-29 16:45:47 +09:00
597f284805 Tidy up and complete xmldoc for HitObjectComposer 2020-05-29 16:45:47 +09:00
b2fad91589 Add swell and drumroll blueprints 2020-05-29 16:45:47 +09:00
46689a2fbc Tidy up and complete xmldoc for HitObjectComposer 2020-05-29 11:46:32 +09:00
1a2392aa83 Merge branch 'master' into remove-unused-mania-rprop 2020-05-28 14:57:10 +09:00