Commit Graph

8758 Commits

Author SHA1 Message Date
051eb18b33 Merge branch 'master' into skin-editor-layer-select 2023-02-21 21:38:51 +01:00
ec1bf7b0b2 Merge branch 'master' into skin-editor-clipboard 2023-02-21 19:35:58 +01:00
af062e7a68 Change placeComponent to only add to selection, not clear an existing selection 2023-02-21 14:11:18 +09:00
0d229d959b Remove unnecessary TriggerChange call 2023-02-21 13:50:19 +09:00
6799492596 Merge branch 'master' into skin-editor-layer-select 2023-02-20 21:33:48 +01:00
6382314af1 Merge pull request #22697 from ggliv/tablet-area-drag
Allow tablet area to be dragged
2023-02-20 23:37:25 +09:00
43d33d45ca Only add valid placed components to selected collection on paste 2023-02-20 20:02:43 +09:00
b68562b033 Make placeComponent resilient to missing dependencies 2023-02-20 20:00:12 +09:00
a9c7edd087 Remove copy pasted comment 2023-02-20 19:57:16 +09:00
7a585e1fa1 Merge pull request #22669 from EVAST9919/mod-overlay-triangles
Add triangles animation to mod select overlay headers
2023-02-20 19:54:21 +09:00
c86c1a9029 allow tablet area to be dragged 2023-02-20 00:06:20 -05:00
1ba1298850 Merge branch 'master' into blueprint-improve-visuals 2023-02-19 15:55:30 +01:00
d7381b762c Also tween origin position 2023-02-19 23:52:21 +09:00
ea04c487f2 Merge branch 'master' into blueprint-labels-while-hovering 2023-02-18 15:57:30 +01:00
15d209d17e Merge branch 'master' into CompletionText-LocalisableString 2023-02-18 13:50:58 +01:00
fbea3e312f Merge branch 'master' into skin-editor-improve-toolbox-hover 2023-02-18 10:02:02 +01:00
2aa4481f68 Fix toolbox items spontaneously contracting after briefly losing hover
Reproduction scenario:

1. Hover a toolbox item
2. Unhover the item, but do not hover any other item (can be done by
   exiting the toolbox completely to the right)
3. Come back to the item hovered in step (1)
4. The item would spontaneously contract after a second
2023-02-17 22:54:11 +01:00
b390fdb8cc Remove unused field 2023-02-17 21:51:19 +01:00
ffcca9fd89 Remove awkward width specification 2023-02-17 23:23:58 +03:00
dbb366e279 CompletionText can be a LocalisableString
I can't find a reason for not doing this, probably this was forgotten in https://github.com/ppy/osu/pull/15440
2023-02-17 22:32:03 +09:00
51940133df Adjust width and add comment 2023-02-17 15:18:45 +03:00
0838fa636f Make triangles slower 2023-02-17 15:16:00 +03:00
0a018514e1 Make skin editor focus only one layer at a time 2023-02-17 19:27:16 +09:00
00fcee0c5a Add per-ruleset component toolbox and placement support 2023-02-17 19:27:16 +09:00
ba5a87ca04 Add basic target layer selection in skin editor 2023-02-17 19:27:16 +09:00
5ed038fbb3 Improve the feel of hovering toolbox component items 2023-02-17 19:26:03 +09:00
814080d982 Only show blueprint labels when hovering or selected 2023-02-17 19:23:52 +09:00
6c61c5f4a8 Fix selection on the edge of blueprints (in the new inflation area) failing 2023-02-17 18:19:46 +09:00
16d94b4ea2 Improve visuals of skin blueprint 2023-02-17 18:19:46 +09:00
a84f20bf32 Add triangles to ModSelectColumn 2023-02-17 03:09:32 +03:00
925deb7ca5 Make skin editor clipboard shared between screens and skins to allow moving elements over 2023-02-15 19:35:37 +09:00
bc83b0c264 Fix clipboard changes not batching as undo steps 2023-02-15 19:35:22 +09:00
bcf2555545 Fix components having incorrect default positions 2023-02-15 19:34:42 +09:00
d653335b6f Add basic skin editor clipboard implementation 2023-02-15 19:28:42 +09:00
a92e42bb84 Rename SkinnableTargetContainer to SkinComponentsContainer
Also use full `SkinComponentsContainerLookup` instead of the sub-type.
This will potentially be useful once we bring in per-ruleset targets.
2023-02-15 18:37:41 +09:00
b1cf6d83d8 Move extension methods closer to serialisation classes 2023-02-15 18:37:41 +09:00
e61d2d571c Move the lookup type out of ISserialisableDrawableContainer 2023-02-15 18:37:41 +09:00
a7b47f6503 Rename ISkinnableTarget to ISerialisableDrawableContainer 2023-02-15 18:37:41 +09:00
d159d6b970 Rename ISkinnableDrawable to ISerialisableDrawable 2023-02-15 18:37:41 +09:00
856efd9fd9 Rename SkinnableDrawableInfo to SerialisedDrawableInfo 2023-02-15 18:23:19 +09:00
9e651a7ca2 Rename SkinnableInfo to SkinnableDrawableInfo 2023-02-15 18:23:17 +09:00
6010dde86e Move SkinnableInfo to better namespace 2023-02-15 18:23:10 +09:00
679df9bf8b Merge pull request #22604 from Joehuu/abort-dangerous-dialog-button-on-hover-lost
Add ability to abort dangerous dialog button on hover lost
2023-02-13 20:40:14 +09:00
8d9245c1d4 Make AbortConfirm() virtual and override with filter logic 2023-02-11 12:54:16 -08:00
94d6ab1ec7 Continue confirming when rehovering if mouse is still down 2023-02-10 19:09:30 -08:00
bfd83768c1 Fix skin component previews on toolbox buttons having incorrect size for one frame 2023-02-10 17:58:34 -08:00
d30d054b4c Add ability to abort dangerous dialog button on hover lost 2023-02-10 14:41:44 -08:00
28897b6e18 Merge pull request #22566 from Joehuu/profile-tournament-banner
Display tournament banner on user profile
2023-02-09 16:06:36 +09:00
f1decb667e Address todos relating to init-only usages 2023-02-08 17:51:28 -08:00
3b5d573db1 Display tournament banner on user profile 2023-02-08 17:16:09 -08:00