Commit Graph

2367 Commits

Author SHA1 Message Date
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
c2ffc18379 Change editor timeline mouse wheel handling to scroll by default (and zoom with alt held) 2020-11-03 16:30:11 +09:00
0dcb4ea441 Add handling of opacity to timeline waveform display 2020-11-03 16:07:01 +09:00
7e4314684b Add editor waveform opacity selection to menu 2020-11-03 16:01:14 +09:00
6bf35d5767 Fix editor menu not supporting stateful item drawables 2020-11-03 16:00:07 +09:00
34aa59f237 Fix editor clock not always remaining stopped when dragging timeline
Closes https://github.com/ppy/osu/issues/10461.
2020-11-03 15:00:01 +09:00
ab308d28d2 Debounce calls to UpdateTernaryStates
Just something I noticed in passing recently which may help with
reducing performance overhead of some batch operations.
2020-11-03 01:08:36 +09:00
3956a0669a Fix editor seek transform seeking too much 2020-11-02 21:08:58 +09:00
8a768669ad Merge pull request #10606 from FamousPig/fix-timeline-drag-select-weirdness
Fix timeline zoom during drag-select causing unexpected behaviour
2020-11-02 13:04:26 +09:00
5ae3da9399 Merge branch 'master' into fix-timeline-drag-select-weirdness 2020-11-02 11:18:37 +09:00
432282e8de Use alternative solution to avoid storing last zoom 2020-11-01 21:25:05 +01:00
1f8d627af4 Merge branch 'master' into shift-delete-all-selected 2020-11-01 23:03:01 +09:00
007c27d3ff Schedule visibility update once per frame 2020-10-31 14:45:11 +01:00
d74c19e2d7 Shorten show/hide code 2020-10-31 13:54:02 +01:00
3322b8a7ea Run OnSelectionChanged() on each change 2020-10-31 13:54:02 +01:00
003994ab75 Bind UpdateVisibility() directly to source of truth 2020-10-31 13:54:02 +01:00
129b1bc6d3 Delete all selected objects if shift-clicked on one 2020-10-31 11:46:25 +01:00
8ccc3c2ec8 Merge pull request #10596 from charlie-gray/right-click-circle-delete
Add support for deleting objects when Shift is held down
2020-10-29 11:37:22 +09:00
a1696942f0 Merge branch 'master' into right-click-circle-delete 2020-10-28 22:12:14 +01:00
202fe09306 Group selection actions back up in SelectionHandler 2020-10-28 22:06:48 +01:00
351acce698 Merge branch 'master' into fix-editor-bindable-crash 2020-10-28 13:34:54 +09:00
01b576c861 Fix editor crash on exit when forcing exit twice in a row 2020-10-28 13:32:39 +09:00
0ddf840a63 Merge branch 'master' into fix-timeline-drag-select-weirdness 2020-10-27 15:31:55 +01:00
983a2774e8 Code Formatting 2020-10-27 15:09:10 +01:00
064c50c3ac Expose currentZoom to fix selection box wiggle 2020-10-27 14:38:35 +01:00
26a7545534 Merge branch 'master' into fix-editor-samples-not-pausing-screen-swap 2020-10-27 21:29:16 +09:00
e0ad005cc1 Move editor sample disabling logic to editor class (and support screen switching) 2020-10-27 14:33:44 +09:00
3c2e2f29bc Remove unused using statement 2020-10-27 13:17:44 +09:00
27c1a4c4d3 Move right-click deletion logic to be handled at a SelectionBlueprint level 2020-10-27 12:53:54 +09:00
e1f578c590 Change editor timing screen seek behaviour to only occur on clicking table rows
Previously it would react to any selection changed event, which could in
lude time changes (which is done by removing then adding the
ControlPointGroup).

Closes #10590.
2020-10-27 12:28:12 +09:00
3f8c4c57d0 Fix code style issues & restructure 2020-10-26 22:16:28 +01:00
255bb9d100 fixed issue with returns 2020-10-26 14:52:59 -05:00
ccaf6560ec formatting 2020-10-26 14:30:37 -05:00
1239670566 moved right click shift delete functionality to HandleSelectionRequested + reduced func size 2020-10-26 14:28:53 -05:00
ead3c19567 added function so circle is deleted when shift+right click 2020-10-26 13:40:42 -05:00
704f8cc4f2 Fix selection box wandering off into the distance 2020-10-26 18:45:03 +01:00
8273715bde Merge pull request #9484 from FlashyReese/visible-playfield-boundary 2020-10-20 19:43:41 +09:00
22bde43106 Merge branch 'master' into visible-playfield-boundary 2020-10-19 18:05:28 +09:00
79a17b2371 Reapply waveform colour fix 2020-10-19 16:57:08 +09:00
829241a9f0 Merge pull request #10521 from peppy/fix-editor-seek-interval-when-playing
Fix editor not seeking by full beat when track is playing
2020-10-16 13:55:03 +09:00
aea31d1582 Fix editor not seeking by full beat when track is playing
This is expected behaviour as my osu-stable, and I still stand behind
the reasoning behind it.

Closes #10519.
2020-10-16 13:07:00 +09:00
88f74921fb Update with new r# inspections 2020-10-16 12:49:39 +09:00
b0f8a7794a Make SelectionHandler require EditorBeatmap presence 2020-10-09 21:44:10 +09:00
681e88af40 Merge branch 'master' into editor-fix-button-states-after-paste 2020-10-09 20:51:09 +09:00
ecfb7e94c5 Merge branch 'master' into fix-editor-batch-handling 2020-10-09 20:06:06 +09:00
07f19342d1 Merge pull request #10428 from peppy/editor-reset-newcombo-on-placement
Reset new combo button state after successful placement
2020-10-09 19:48:47 +09:00
bcc096ee49 Merge pull request #10446 from peppy/fix-timeline-tick-bar-lines
Fix bar lines ("down beat" as people call it) showing up too often in timeline
2020-10-09 19:24:29 +09:00
62690e4873 Merge pull request #10432 from peppy/editor-reverse-pattern
Add "reverse pattern" support to editor selection handler
2020-10-09 19:19:24 +09:00
3838f405dd Fix missed usages 2020-10-09 18:50:05 +09:00
edaf6db5c6 Reference EditorBeatmap directly for selected objects 2020-10-09 18:44:23 +09:00