Commit Graph

332 Commits

Author SHA1 Message Date
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
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
6be5917eb0 Remove necessity for custom mania interface caching 2020-05-27 23:15:16 +09:00
0891c47d09 Merge pull request #9124 from peppy/editor-hide-non-alive-blueprints-default
Hide non-alive selection blueprints by default
2020-05-27 21:29:53 +09:00
9a060cfb3a Allow drag selections to occur from outside the playfield 2020-05-27 20:44:15 +09:00
f5c974dd89 Hide non-alive selection blueprints by default 2020-05-27 13:40:16 +09:00
b5de30ef3d Merge branch 'master' into editor-scrolling-playfield-support 2020-05-26 14:46:58 +09:00
0cc6d6d97c Merge pull request #9033 from smoogipoo/applydefaults-cancellation
Add cancellation token support to CreateNestedHitObjects()
2020-05-26 12:04:06 +09:00
98f3d790df Merge pull request #9107 from peppy/editor-remove-size-propagation
Remove unnecessary size propagation in HitObjectComposer
2020-05-25 23:55:26 +09:00
e7442ec3a2 Remove need for ManiaSnapResult 2020-05-25 19:33:03 +09:00
af5fac471e Remove unnecessary size propagation in HitObjectComposer 2020-05-25 19:29:46 +09:00
ebe2e97372 Merge branch 'master' into editor-clock-transform 2020-05-25 19:01:04 +09:00
bc35bc5efb Merge branch 'master' into applydefaults-cancellation 2020-05-25 16:45:30 +09:00
cd65fc860b Remove extra default application 2020-05-25 16:15:55 +09:00
b44beb4137 Remove double resolution of EditorClock 2020-05-25 15:40:45 +09:00
ed83ef202a Merge branch 'master' into editor-clock-cache 2020-05-25 15:39:42 +09:00
2f9cc0c15a Merge pull request #9078 from peppy/editor-move-distance-snap-grid
Move distance snap grid to osu! HitObjectComposer
2020-05-25 15:05:30 +09:00
decdc58de5 Merge branch 'editor-clock-cache' into editor-clock-transform 2020-05-24 12:55:47 +09:00
a3a9810344 Merge branch 'master' into editor-clock-cache 2020-05-23 00:44:04 +09:00
1311fd2f64 Merge branch 'master' into editor-move-distance-snap-grid 2020-05-23 00:42:43 +09:00
83f4ba107f Fix defaults not being applied correctly to blueprints after StartTime is changed 2020-05-22 22:42:17 +09:00
3e0ee310d0 Remove now incorrect comment 2020-05-22 18:30:39 +09:00
d18eb663b1 Add tweening seek support to EditorClock 2020-05-22 16:47:52 +09:00
dd09d7830d Cache and resolve editor clock as EditorClock in all cases 2020-05-22 16:44:06 +09:00
8a47e2431b Move distance snap grid implementation to OsuHitObjectComposer 2020-05-21 17:13:22 +09:00
b1fd7da824 Merge branch 'master' into editor-position-snap 2020-05-21 15:47:20 +09:00
776b842fdb Remove unused using 2020-05-21 14:53:36 +09:00
a9a1c00cf1 Move responsibility placement blueprint's StartTime set to within 2020-05-21 14:50:33 +09:00
e09a1bf546 Only seek forwards if not already beyond the placed object 2020-05-20 21:50:52 +09:00
b5a7023312 Seek to start time after placement, not end 2020-05-20 21:46:52 +09:00
7c9fbb6fcf Split out classes 2020-05-20 21:03:03 +09:00
82d6549161 Pass down snap result and remove local TimeAt usage 2020-05-20 21:01:29 +09:00
970bd86d2e Remove local TimeAt usage in mania placement 2020-05-20 21:01:29 +09:00
23bf0d000e Implement mania beat snapping support 2020-05-20 21:01:19 +09:00
ffb8d48fc3 Fix osu!mania editor placement regressions 2020-05-20 21:01:03 +09:00
c46bfc2532 Create SnapResult class to hold various snapping results 2020-05-20 21:00:47 +09:00
3354d48a38 Change snapping to be screen space coordinate based 2020-05-20 21:00:29 +09:00
98125102a7 Add cancellation token support to CreateNestedHitObjects() 2020-05-15 18:07:41 +09:00
f38b64d201 Fix placement blueprints handling double clicks 2020-04-13 13:57:15 +09:00
ee6ea08cf8 Cleanup handling of hitobject updates 2020-04-09 20:16:44 +09:00
b65e839bd2 Simplify blueprints by removing visible state 2020-02-13 10:00:09 +09:00
0fe41fd50a Fix blueprint showing even when mouse outside of container 2020-02-13 09:03:48 +09:00
f3c47dc8c9 Merge branch 'master' into seek-to-endtime-on-placement 2020-02-10 14:53:11 +09:00