Commit Graph

42 Commits

Author SHA1 Message Date
bc3b7233ab Show osu!taiko centre/rim colouring in editor timeline
Closes #13443.
2021-06-11 14:17:30 +09:00
f2e56bd306 Refactor editor selection/blueprint components to be generic 2021-04-27 19:01:29 +09:00
0825fc57a9 Move foreground colour helper into OsuColour 2021-04-19 18:24:48 +02:00
a8027d87b6 Fix unreadable colour hex code text due to low contrast
Logic is shared with the timeline blueprints which also have the same
problem of displaying text on top of a combo colour.

Slightly modified the formula. Seems to yield better results on a
subjective check.
2021-04-18 20:44:55 +02:00
d9d50f0e88 Add border showing selected blueprints in timeline 2021-04-16 18:16:22 +09:00
42c066e6f2 Fix slider not displaying in timeline during zero-duration placement 2021-04-16 13:38:55 +09:00
71b06d7e61 Simplify ExtendableCircle even more 2021-04-15 15:53:21 +03:00
e601141be2 Simplify ExtendableCircle component 2021-04-13 14:57:02 +03:00
e7b0042a60 Remove unnecessary hover / shadow logic 2021-04-13 19:30:20 +09:00
b2c17979de Update colours of all overlay components in one swoop (based off combo colour) 2021-04-13 19:26:20 +09:00
495fdd8d65 Update drag area display to match new design logic 2021-04-13 19:26:20 +09:00
109ee395bf Fix input and remove outdated hover logic 2021-04-13 19:26:20 +09:00
00f235760d Update visual appearance of timeline blueprints to close match new designs 2021-04-13 19:26:20 +09:00
5061231e59 Switch to beat length 2021-02-05 09:39:14 -05:00
5ee3a5f230 Use AlmostEquals 2021-01-20 13:00:25 -05:00
ce3c2f07dc Fix zero length spinners and sliders 2021-01-20 12:19:52 -05:00
d11d754715 Increase size of circle display on timeline 2020-12-21 18:09:37 +09:00
e53f849aa0 Completely separate combo colours from DHOs 2020-11-26 18:14:25 +09:00
f562854feb Fix timeline objects sometimes not receiving combo colours 2020-11-26 17:22:22 +09:00
afed832b19 Tidy up EditorBeatmap slightly 2020-10-08 18:06:49 +09:00
ef092de9ba Add missing UpdateHitObject calls and move local to usages (not via bindables) 2020-10-08 18:04:07 +09:00
a2796d2c01 Add repeats display to timeline blueprints 2020-10-06 19:22:35 +09:00
3422db1bb2 Use top-left colour for deciding the text colour (gradient was added in some cases) 2020-09-30 17:10:22 +09:00
6e1ea00443 Don't apply gradient to non-duration objects 2020-09-29 17:34:50 +09:00
c47652c97a Add gradient to hide subtractive colour issues
Good thing is looks better than without.
2020-09-29 17:26:54 +09:00
8d8d45a0c0 Add combo index display support 2020-09-29 17:26:54 +09:00
f16fc29071 Add combo colour display support 2020-09-29 17:26:54 +09:00
cbd563e80b Rename to IHasDuration 2020-05-27 12:38:39 +09:00
b8e0a6f127 Move sett from EndTime to Duration 2020-05-27 12:37:44 +09:00
5ea33f4c04 Fix incorrect rounding in DragBar 2020-05-22 19:23:07 +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
575b061dd7 Add change state support to more editor components 2020-04-09 22:02:42 +09:00
6ae0efa40d Fix adjustment not working when dragged before object 2020-02-06 14:47:43 +09:00
c138e3907e Move methods below ctor 2020-02-06 14:35:45 +09:00
f5edad16e6 Improve visuals 2020-02-05 19:43:13 +09:00
98ab1f9862 Fix negative spinners 2020-02-05 18:35:31 +09:00
3d42973764 Allow scrolling via drag while dragging a hold note handle 2020-02-05 18:35:31 +09:00
cef45afbc8 Add a simple hover state 2020-02-05 18:35:31 +09:00
d56accaef1 Disallow negative / zero repeat counts (and fix off-by-one) 2020-02-05 18:35:31 +09:00
d04cc0123d Initial implementation of timeline blueprint dragbars 2020-02-05 18:35:31 +09:00
5cadbb1ffb Move timeline blueprint to own class 2020-01-23 16:22:43 +09:00