1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 22:37:26 +08:00
Commit Graph

906 Commits

Author SHA1 Message Date
Dean Herbert
13fba9f92e
Adjust glow slightly 2024-10-22 17:16:09 +09:00
Bartłomiej Dach
05e2f6db8e
Add preselection indicator for better visibility what will be selected 2024-10-18 13:23:37 +02:00
Dan Balasescu
083644b713
Refactor a bit 2024-10-18 18:40:25 +09:00
jhk2601
9a0356919c Also handle full mod name (likely irrelevant but might as well) 2024-10-17 17:11:01 -04:00
jhk2601
2ef8720590 Adds logic to prioritize selecting exact mod acronyms when they are searched 2024-10-17 17:04:13 -04:00
Dean Herbert
11fc811e2f
Fix delete dialogs having generic "Caution" header text
Regressed in https://github.com/ppy/osu/pull/28363.
2024-10-07 16:46:53 +09:00
Dean Herbert
e7c4451206
Reduce brightness of hover effect 2024-09-27 18:20:16 +09:00
Fabep
17760afa60 Changed ModCustomisationHeader to inherit from OsuClickableContainer.
ModCustomisationHeader changes color depending on state.
2024-09-04 15:29:48 +02:00
Dean Herbert
86309f4b46
Revert "Woopsie! I accidentally added one too many semi-colons, so I moved it here into the commit instead ;"
This reverts commit 582ffcfc97.

Revert "Mod customisation header's color is now based on the state of the panel rather than the hover of the container."

This reverts commit e3457d8501.
2024-09-04 17:25:41 +09:00
Fabep
582ffcfc97 Woopsie! I accidentally added one too many semi-colons, so I moved it here into the commit instead ; 2024-09-02 19:17:07 +02:00
Fabep
e3457d8501 Mod customisation header's color is now based on the state of the panel rather than the hover of the container. 2024-09-02 19:14:08 +02:00
Bartłomiej Dach
5211e606b5
Fix mod customisation header being non-functional on mobile
As expected the previous touch handling would prevent the header from
working entirely when click handling was removed from the header.
2024-09-02 11:33:43 +02:00
Fabep
6adaf6a41f Changed ModCustomisationPanelState names 2024-08-28 10:09:47 +02:00
Fabep
be0e2efda2 Removed on click event for expanding the Mod Customisation Header. 2024-08-28 09:51:17 +02:00
Salman Ahmed
1efa6b7221 Merge if branches 2024-08-22 05:40:43 +09:00
Salman Ahmed
fc02b4b942 Alter NRT usage 2024-08-22 05:39:57 +09:00
Salman Ahmed
b7599dd1f8 Keep mod customisation panel open when dragging a drawable 2024-08-21 03:23:23 +09:00
Bartłomiej Dach
f83d43c38b
Get rid of weird method 2024-08-07 14:07:20 +02:00
Bartłomiej Dach
518c1aa5a0
Remove weird Expanded / ExpandedState duality 2024-08-07 14:01:30 +02:00
Dean Herbert
9ccd8c906d
Merge branch 'master' into hover-open-mod-customise 2024-08-06 18:35:35 +09:00
Joseph Madamba
4ef9f335ee Fix customise button on mod overlay initially showing flash layer indefinitely 2024-08-02 10:19:59 -07:00
Caiyi Shyu
c85dc40f91
Merge branch 'master' into hover-open-mod-customise 2024-08-02 19:07:27 +08:00
Dan Balasescu
64b7bab4fb
Fix mod panels overflowing into the column borders 2024-08-02 18:59:21 +09:00
Dean Herbert
76904272e6
Allow horizontal scrolling on mod select overlay anywhere on the screen
Closes https://github.com/ppy/osu/issues/29248.
2024-08-02 16:56:34 +09:00
Caiyi Shyu
051d52c23f Update ModCustomisationPanel to use ExpandedState enum 2024-08-01 19:25:45 +08:00
Caiyi Shyu
188ddbcad6 pass ModCustomisationPanel through ctor 2024-08-01 18:38:01 +08:00
Dean Herbert
5098d637b5
Flash customise button on mod overlay when it becomes available 2024-07-31 19:55:20 +09:00
Caiyi Shyu
5fb364cad6 remove redundant code added accidentally 2024-07-31 16:56:25 +08:00
Caiyi Shyu
5b46597d56 fix click to expand on touch devices 2024-07-31 16:54:32 +08:00
jkh675
d51a53b051 Preventing the mod icon being squashed up 2024-07-29 19:08:14 +08:00
jkh675
8f86681110 Replace OsuSpriteText with TextFlowContainer 2024-07-29 18:29:44 +08:00
jkh675
90fdf5599f Revert changes 2024-07-29 18:14:07 +08:00
normalid
4e65944609 Make the tooltips width be dyanmic with the content, so the long text wont occurs wierd line break 2024-07-28 16:26:18 +08:00
normalid
5db0e36404 Use the TruncatingSpriteText in ModPresetTooltip 2024-07-28 16:18:43 +08:00
Caiyi Shyu
77d64e0c3d replace with ReceivePositionalInputAt 2024-07-27 17:59:38 +08:00
Caiyi Shyu
fc842868a9 fix code quality 2024-07-27 16:24:20 +08:00
Caiyi Shyu
b97d96fcb0 Fix panel collapse when hovering dropdown menu 2024-07-27 15:15:14 +08:00
Caiyi Shyu
aed81d9758 make code inspector happy 2024-07-26 22:56:07 +08:00
Caiyi Shyu
0cc6818b21 allow hover to expand ModCustomisationPanel 2024-07-26 22:44:50 +08:00
Salman Ahmed
2ad8eeb918 Fix beatmap attributes display in mod select recreating star difficulty bindable every setting change 2024-07-19 03:25:26 +03:00
Salman Ahmed
d4a4a059d4 Fix footer content not accessible by overlay when overriden by a subclass 2024-07-11 15:31:02 +03:00
Salman Ahmed
669e945fc3 Fix ModSelectOverlay not hiding without a footer 2024-07-11 14:56:17 +03:00
Salman Ahmed
337f05f9a4 Fix loading (but not showing) a sheared overlay hiding displayed footer content
Identified by tests. See https://github.com/ppy/osu/actions/runs/9869382635/job/27253010485 & https://github.com/ppy/osu/actions/runs/9869382635/job/27253009622.

This change also prevents the initial `PopOut` call in overlays from calling `clearActiveOverlayContainer`, since it's not in the update thread and it's never meant to be called at that point anyway (it's supposed to be accompanied by a previous `PopIn` call adding the footer content).
2024-07-10 11:56:35 +03:00
Salman Ahmed
002679ebb0 Ask for VisibilityContainer explicitly 2024-07-10 11:14:22 +03:00
Dean Herbert
9a88281ab0
Merge branch 'master' into footer-v2-integration 2024-07-10 15:33:05 +09:00
Dean Herbert
f281019358
Rename method to match provided argument 2024-07-10 14:00:15 +09:00
Dean Herbert
4e1240c349
Migrate ShearedOverlayContainer to NRT 2024-07-10 13:54:27 +09:00
Salman Ahmed
ed1f3a1eb4 Merge branch 'master' into footer-v2-integration 2024-07-09 13:48:40 +03:00
Salman Ahmed
b17af86491 Merge branch 'master' into footer-v2-overlay-content 2024-07-09 13:41:44 +03:00
Joseph Madamba
9532146978 Fix content overflowing to border
The +2 for the top isn't really needed for the original purpose as content fades out now, but visually, having the header and content spacing looks more correct.
2024-07-07 23:12:20 -07:00