1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-11 07:17:18 +08:00

16233 Commits

Author SHA1 Message Date
Dean Herbert
4beac64bdb
Remove unused container level 2025-02-28 22:54:00 +09:00
Dean Herbert
29c35529d2
Fix activation flash being applied twice (and adjust duration) 2025-02-28 22:54:00 +09:00
Dean Herbert
8032b68932
Stop using padding for panel x offsets 2025-02-28 22:54:00 +09:00
Dean Herbert
51cb0bea1c
Fix carousel taking up too much space on new song select implementation 2025-02-28 16:45:49 +09:00
Dean Herbert
1e46dc6b0a
Adjust animation duration to roughly match scroll operations
Previous value felt wrong when using keyboard selection for iteration.
2025-02-28 16:27:42 +09:00
Dean Herbert
a8fbac0f0d
Add better selection visibility via another tint layer 2025-02-28 16:27:18 +09:00
Dean Herbert
02b950223c
Adjust x offsets to work again for keyboard selection 2025-02-28 16:08:11 +09:00
Dean Herbert
0b453772da
Disable button instead of hiding (and add tooltip) 2025-02-27 15:15:58 +09:00
Bartłomiej Dach
6b76b8ccdd
Do not allow adding more than 8 combo colours in editor 2025-02-26 11:24:06 +01:00
Dean Herbert
abc12abded
Fix PlayerTeamFlag skinnable component not showing team details during replay
For now, let's fetch on demand.

Note that song select local leaderboard has the same issue. I feel we should be
doing a lot more cached lookups (probaly with persisting across game restarts).
Maybe even replacing the realm user storage. An issue for another day.
2025-02-26 16:48:18 +09:00
Bartłomiej Dach
0312467c88
Fix hash comparison being case sensitive when choosing files for partial beatmap submission
Noticed when investigating https://github.com/ppy/osu/issues/32059, and
also a likely cause for user reports like
https://discord.com/channels/188630481301012481/1097318920991559880/1342962553101357066.

Honestly I have no solid defence, Your Honour. I guess this just must
not have been tested on the client side, only relied on server-side
testing.
2025-02-24 12:30:37 +01:00
Dean Herbert
e9b8154090
Merge pull request #32005 from smoogipoo/fix-multi-leave-host-sound
Fix host change sounds playing when exiting multiplayer rooms
2025-02-24 00:23:39 +09:00
Bartłomiej Dach
a690b0bae9
Adjust rounding tolerance in distance snap grid ring colour logic 2025-02-21 12:05:23 +01:00
Dan Balasescu
f868f03e1b
Fix host change sounds playing when exiting multiplayer rooms 2025-02-21 16:38:55 +09:00
Dan Balasescu
49c192b173
Fix wrong beatmap attributes in multiplayer spectate 2025-02-21 16:19:05 +09:00
Dean Herbert
a75ec75a8f
Fix using 2025-02-20 23:48:21 +09:00
Dean Herbert
4f4d2b3b3f
Fix results screen applause playing too loud during multiplayer spectating 2025-02-20 23:42:32 +09:00
Dean Herbert
1e3d5d7d81
Remove left-over debug code 2025-02-20 23:05:47 +09:00
Dean Herbert
4c934dae51
Merge pull request #31774 from frenzibyte/carousel-v2-implement-designs
Implement designs for beatmap carousel v2
2025-02-20 17:56:40 +09:00
Dean Herbert
df5fe07995
Merge pull request #31941 from bdach/fix-multi-spectator-freestyle
Fix multiplayer spectator not working with freestyle
2025-02-20 16:25:09 +09:00
Dean Herbert
81b4f0d8ca
Add comments regarding jank 2025-02-20 15:49:40 +09:00
Dean Herbert
1c53d93a8f
Add disposal and pre-check before reloading audio track 2025-02-20 15:32:47 +09:00
Salman Alshamrani
092d80cf1b Fix PanelBeatmapStandalone not handling selection state 2025-02-19 10:20:04 -05:00
Bartłomiej Dach
f9d91431fd
Fix multiplayer spectator not working with freestyle
It's no longer possible to just assume that using the ambient
`WorkingBeatmap` is gonna work.

Bit dodgy but seems to work and also I'd hope that `WorkingBeatmapCache`
makes this not overly taxing. If there are concerns this can probably be
an async load or something.
2025-02-19 15:15:21 +01:00
Bartłomiej Dach
687c9d6e17
Send "notify on discussion replies" setting value in beatmap creation request 2025-02-19 12:45:37 +01:00
Dean Herbert
66f7f92469
Merge pull request #31928 from bdach/perform-on-selection-is-weird
Fix nudging objects in catch editor not changing their hyperdash state
2025-02-18 21:17:10 +09:00
Bartłomiej Dach
e6174f195c
Ensure EditorBeatmap.PerformOnSelection() marks objects in selection as updated
Closes https://github.com/ppy/osu/issues/28791.

The reason why nudging was not changing hyperdash state in catch was
that `EditorBeatmap.Update()` was not being called on the objects that
were being modified, therefore postprocessing was not performed,
therefore hyperdash state was not being recomputed.

Looking at the usage sites of `EditorBeatmap.PerformOnSelection()`,
about two-thirds of callers called `Update()` themselves on the objects
they mutated, and the rest didn't. I'd say that's the failure of the
abstraction and it should be `PerformOnSelection()`'s responsibility to
call `Update()` there. Yes in some of the cases here this will cause
extraneous calls that weren't done before, but the method is already
heavily disclaimed as 'expensive', so I'd say usability should come
first.
2025-02-18 12:06:42 +01:00
Bartłomiej Dach
b3aba537b5
Add missing early return
As spotted in testing with production. Would cause submission to proceed
even if the export did, with an empty archive.
2025-02-18 11:35:29 +01:00
Bartłomiej Dach
98ff4e054a
Merge pull request #31924 from peppy/fix-kiai-fountains-rapid-fire
Fix kiai fountains sometimes not displaying when they should
2025-02-18 11:27:02 +01:00
Dean Herbert
7e1984452f
Tidy up remaining common code 2025-02-18 16:52:19 +09:00
Dean Herbert
644fb29843
Fix input handling not matching latest master logic 2025-02-18 16:52:18 +09:00
Dean Herbert
5de9584171
Move PanelXOffset to init property rather than ctor
Feels better to me.
2025-02-18 16:52:18 +09:00
Dean Herbert
88ec204d26
User inheritance to avoid Piece structural nightmare 2025-02-18 16:52:18 +09:00
Dean Herbert
40cae4f0a5
Merge branch 'master' into carousel-v2-implement-designs 2025-02-18 15:49:34 +09:00
Dean Herbert
8e25c94452
Fix kiai fountains sometimes not displaying when they should
The previous logic was very wrong, as the check would only occur on each
beat. But that's not how kiai sections work – they can be placed at any
timestamp, even if that doesn't align with a beat.

In addition, the rate limiting has been removed because it didn't exist
on stable and causes some fountains to be missed. Overlap scenarios are
already handled internally by the `StarFountain` class.

Closes https://github.com/ppy/osu/issues/31855.
2025-02-18 14:12:16 +09:00
Dean Herbert
f5b485a44d
Stop "hold for HUD" key binding from blocking other key presses
I don't think there's a good reason for this to be blocking.

Closes https://github.com/ppy/osu/issues/31274.
2025-02-18 12:58:54 +09:00
Dan Balasescu
3b8b8ae87f
Merge pull request #31917 from bdach/nudge-fix
Fix nudge operations incurring FP error from coordinate space conversions
2025-02-18 12:19:14 +09:00
Bartłomiej Dach
f37a56c307
Fix nudge operations incurring FP error from coordinate space conversions
Closes https://github.com/ppy/osu/issues/31915.

Reproduction of aforementioned issue requires 1280x720 resolution, which
should also be a good way to confirm that this does anything.

To me this is also equal-parts-bugfix, equal-parts-code-quality PR,
because tell me: what on earth was this code ever doing at
`ComposeBlueprintContainer` level? Nudging by one playfield-space-unit
doesn't even *make sense* in something like taiko or mania.
2025-02-17 15:21:07 +01:00
Dean Herbert
42fb544218
Merge pull request #31912 from bdach/more-snap-grid
Fix some more visual issues with osu! distance snap grid
2025-02-17 21:11:17 +09:00
Bartłomiej Dach
2b4b21beb6
Fix distance snap grid line opacity being incorrect on non-1.0x velocities
Noticed in passing.
2025-02-17 10:11:47 +01:00
Bartłomiej Dach
8423d9de9b
Fix distance snap grid colours being off-by-one in certain cases
Closes https://github.com/ppy/osu/issues/31909.

Previously: https://github.com/ppy/osu/pull/30062.

Happening because of rounding errors - in this case the beat index
pre-flooring was something like a 0.003 off of a full beat, which would
get floored down rather than rounded up which created the discrepancy.
But also we don't want to round *too* far, which is why this
frankenstein solution has to exist I think. This is probably all
exacerbated by stable not handling decimal control point start times.

Would add tests if not for the fact that this is like extremely annoying
to test.
2025-02-17 10:11:23 +01:00
Dean Herbert
d5566831d2
Stop beat divisor "slider" from accepting focus 2025-02-17 15:06:35 +09:00
Dean Herbert
4c851a327e
Merge pull request #31880 from peppy/team-logo-support
Add basic display support for team logos
2025-02-14 22:59:57 +09:00
Dean Herbert
071a4ba9b0
Merge pull request #31821 from Layendan/playlist-collection
Add playlist to new collection button present on playlist room
2025-02-14 18:03:54 +09:00
Dean Herbert
44faabddcd
Add skinnable team flag 2025-02-14 17:39:21 +09:00
Dean Herbert
303961d101
Add drawable implementations of team logo 2025-02-14 17:39:21 +09:00
Dean Herbert
f9b7a8ed10
Make realm operation asynchronous for good measure 2025-02-14 14:51:48 +09:00
Dean Herbert
8561df40c5
Add better messaging and handling of edge cases 2025-02-14 14:30:33 +09:00
Dean Herbert
601e6d8a70
Refactor pass for code quality 2025-02-14 13:54:29 +09:00
Bartłomiej Dach
de9362dae5
Merge branch 'master' into bss/the-actual-submission 2025-02-13 08:45:23 +01:00