Commit Graph

3543 Commits

Author SHA1 Message Date
8ef5855e84 Fix typo 2018-04-06 12:38:17 +03:00
c7440201fb Merge branch 'master' into alt-eagerselect 2018-04-06 12:37:16 +03:00
fdb3227fd7 Fix + cleanup testcases 2018-04-06 18:12:44 +09:00
c7abd56fc4 Give editor a custom clock to handle seeking 2018-04-06 18:11:37 +09:00
768a5e5383 Create ManualInputManagerTestCase
A base class for running more input-driven tests.
2018-04-06 15:23:30 +09:00
714326b606 Fix TestCase not working with dynamic compilation 2018-04-06 13:16:27 +09:00
d9e795fb9f TimelineContainer -> TimelineArea 2018-04-05 19:40:03 +09:00
f41d31e1db ScrollableTimeline -> TimelineContainer 2018-04-05 19:33:25 +09:00
870ce8868c Make scrollabletimeline use gridcontainer 2018-04-05 16:07:33 +09:00
4d71f2084c Move individual mask selection logic out of MaskSelection 2018-04-04 18:29:53 +09:00
788bfde002 Merge branch 'master' into selectionlayer-rewrite 2018-04-04 15:38:27 +09:00
6dfca4b2fa Merge branch 'master' into osu-tab-strip 2018-04-04 14:20:06 +09:00
ee7db92e6b Simplify negative equality expression 2018-04-03 21:01:02 -07:00
d40ccbd70a Merge branch 'master' into selectionlayer-rewrite 2018-04-03 12:03:11 +09:00
57b4cdaf85 Merge branch 'master' into selectionlayer-rewrite 2018-04-03 03:05:42 +09:00
75f7d43d9d Testcases for CarouselRoot 2018-04-02 11:56:35 +03:00
551ba6ac4b Fix ScalableContainer irrepairably altering content size 2018-04-02 13:06:06 +09:00
1bebda61f8 Use "==" instead of "equals" 2018-03-31 10:51:44 -07:00
ee14ca7cc5 Merge branch 'master' into score-multiplier-edits 2018-03-31 10:43:58 -07:00
e3218250d5 Fix tab strip in BreadcrumbControl, allow strip height to be overriden. 2018-03-29 15:41:27 -03:00
6d4f94756e Rewrite the way drag + click selections happen
The general idea here is that we need the masks to handle mouse down events, as they need to handle the drag (mousedown -> drag immediately).

I've rewritten the editor selections to use events, as there are some 3 different components that handle/trigger selections in different ways.

1. All selections/deselections now propagate through `HitObjectMask.Select()`/`HitObjectMask.Deselect()`.
2. Components that react to changes in the selection bind to the masks' `Selected`/`Deselected` events, and track them/change their states locally.
3. Masks provide a `SingleSelectionRequested` event which is invoked on the mouse-down event. Various components bind to this event to perform state changes locally in this scenario.
4. `DragBox` now handles all drag input locally. It triggers `Select`/`Deselect` on the masks it needs to.
5. `SelectionBox` handles the display of itself locally.
6. `SelectionBox` handles movement of groups of masks locally.
7. `HitObjectMasks` handles movement of itself locally.
2018-03-29 22:07:23 +09:00
4bdfc9dca9 Fix testcase 2018-03-29 17:19:14 +09:00
5457f17e79 Clean up code from reviews 2018-03-28 19:53:15 -07:00
56de6c1067 Rename Channel to ChannelChat 2018-03-28 21:11:06 +02:00
eb374c5774 Add beatmap set online status and display it in direct panels and the beatmap set overlay. 2018-03-26 21:04:45 -03:00
90d763fda5 Apply review changes and suggestions 2018-03-25 10:00:30 -07:00
78a7564acd Score multiplier edits 2018-03-24 16:00:18 -07:00
92d8781bf0 Merge branch 'master' into beat-snap-divisor 2018-03-22 20:14:50 +09:00
1b116dd04e Adjust testcase sizing to match editor 2018-03-22 16:11:56 +09:00
c2eb32c0e9 DrawableBeatDivisor -> BeatDivisorControl 2018-03-20 20:10:27 +09:00
6fd650777c Move value change logic to bindable
Also add drag support
2018-03-20 20:09:55 +09:00
d1c2aa71d0 Add beatmap sample override support 2018-03-20 16:24:06 +09:00
786e6242e1 Make bdl beat divisor nullable 2018-03-20 14:01:06 +09:00
50192b21e3 Give DrawableBeatDivisor a ctor 2018-03-20 13:57:25 +09:00
fa5fd46f85 Clean up + rename testcase 2018-03-19 20:42:42 +09:00
b1d09500f2 Integrate beat snap divisor into editor seeking 2018-03-19 20:42:06 +09:00
c5eab7a227 Actually rename to DrawableBeatDivisor... 2018-03-19 20:34:24 +09:00
5ecbc5612c Integrate with dependency injection 2018-03-19 20:33:58 +09:00
46f10b392d Fix merge errors 2018-03-19 20:23:31 +09:00
4c0ccffe08 Merge remote-tracking branch 'origin/master' into beat-snap-divisor 2018-03-19 20:23:15 +09:00
df0b8a24c5 Rename + renamespace 2018-03-19 20:21:19 +09:00
b25c564ecb Integrate into editor's compose screen 2018-03-19 20:14:58 +09:00
070db63157 Privatise tick to TickContainer 2018-03-19 19:52:22 +09:00
66e4e45882 Offset test case a little bit for dynamic compilation message 2018-03-19 19:49:46 +09:00
6b035e8c53 Add basic structure/layout for the beat snap visualiser 2018-03-19 19:46:26 +09:00
193142e901 Fix missed BDL case 2018-03-19 16:44:46 +09:00
e25d1f6982 Pass down editor clocks through DI 2018-03-19 16:27:52 +09:00
abb5dcf678 Fix null-refing testcase
This would also be fixed with BDL loading children after we're fully loaded ;).
2018-03-16 23:53:55 +09:00
4b83278cf4 Merge branch 'master' into fix-editor-clocks 2018-03-16 23:32:54 +09:00
e8f7f2c8ab Merge branch 'master' into editor-wheel-movement 2018-03-16 18:19:42 +09:00