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

3338 Commits

Author SHA1 Message Date
Dan Balasescu
8c13a86ad1
Merge pull request #32200 from andy840119/remove-handle-scale-base-method
Remove unused virtual method after refactor the scale handling.
2025-03-04 13:14:14 +09:00
andy840119
23a5d6dc40 This method is not being used anymore.
see:
https://github.com/ppy/osu/pull/26643
2025-03-03 22:10:41 +08:00
Dean Herbert
52860def6c
Always zoom timeline to centre rather than focus point
Closes https://github.com/ppy/osu/issues/32183.
2025-03-03 18:53:41 +09:00
Dean Herbert
e1723ec1bb
Adjust preview time display to not conflict with bookmarks 2025-02-28 14:05:49 +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
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
Bartłomiej Dach
a690b0bae9
Adjust rounding tolerance in distance snap grid ring colour logic 2025-02-21 12:05:23 +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
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
Bartłomiej Dach
de9362dae5
Merge branch 'master' into bss/the-actual-submission 2025-02-13 08:45:23 +01:00
Dean Herbert
b9ed217308
Add basic brighten animation instead 2025-02-11 17:13:34 +09:00
Dean Herbert
1fa8d53232
Disable scale animation when holding editor "test" button 2025-02-11 17:11:20 +09:00
Bartłomiej Dach
daf0130b23
Reword copy to be less verbose 2025-02-11 08:06:12 +01:00
Bartłomiej Dach
38e2f793ca
Add menu items to open beatmap info & discussion pages in browser from editor 2025-02-10 12:47:38 +01:00
Dean Herbert
b8e33a28d2
Minor code refactors 2025-02-10 17:41:38 +09:00
Bartłomiej Dach
45259b374a
Remove unused using 2025-02-10 09:09:43 +01:00
Bartłomiej Dach
895493877c
Allow performing beatmap reload after submission from song select 2025-02-10 09:03:40 +01:00
Dean Herbert
eae1ea7e32
Adjust animations and induce some short delays to make things more graceful 2025-02-10 15:23:25 +09:00
Dean Herbert
930aaecd7f
Fix back button displaying before it should 2025-02-10 15:22:31 +09:00
Dean Herbert
7853456c06
Add delay before browser displays beatmap 2025-02-10 15:12:59 +09:00
Dean Herbert
274b422139
Add percent progress display to editor footer 2025-02-10 14:51:48 +09:00
Bartłomiej Dach
64f0d234d8
Fix exiting being eternally blocked after successful beatmap submission 2025-02-07 15:37:27 +01:00
Dean Herbert
753eae426d
Update strings 2025-02-07 18:42:41 +09:00
Dean Herbert
783ef00785
Change BeatmapSubmissionScreen to use global back button instead of custom implementation 2025-02-07 18:34:48 +09:00
Dean Herbert
95967a2fde
Adjust beatmap stream creation to make a bit more sense 2025-02-07 18:17:49 +09:00
Dean Herbert
12881f3f36
Don't show informational screens for subsequent submissions
These are historically only presented to the user when uploading a new
beatmap for the first time.
2025-02-07 18:06:31 +09:00
Dean Herbert
46290ae76b
Disallow changing beatmap / ruleset while submitting beatmap 2025-02-07 18:05:47 +09:00
Dean Herbert
6335228fb0
Merge branch 'master' into bss/the-actual-submission 2025-02-07 17:44:48 +09:00
Dean Herbert
41c8f64806
Simplify naming of endpoints 2025-02-07 17:33:32 +09:00
Bartłomiej Dach
070d402ac2
Merge branch 'bss/api-setup' into bss/the-actual-submission 2025-02-06 08:38:08 +01:00
Bartłomiej Dach
5bcd79956b
Merge branch 'master' into bss/api-setup 2025-02-06 08:30:01 +01:00
Dean Herbert
d9b370e3a1
Add xmldoc for menu implying external consumption 2025-02-06 13:48:38 +09:00
Dean Herbert
dd53ae0e02
Merge pull request #31806 from bdach/bookmark-follow-ups
Improve bookmark controls
2025-02-06 13:48:12 +09:00
Bartłomiej Dach
10711e5e27
Add missing partial 2025-02-05 15:39:36 +01:00
Bartłomiej Dach
4cbfb51707
Fix undoing bookmark operations potentially making them unsorted
Found in testing of previous commit. This would break seeking between
bookmarks.

Reproduction steps on `master`:

- open map with bookmark
- delete the first bookmark
- undo the deletion of the first bookmark
- seek to previous bookmark will now always seek to the first bookmark
  rather than closest preceding regardless of current clock time
2025-02-05 15:30:11 +01:00
Bartłomiej Dach
abce42b1c8
Improve bookmark controls
- Bookmark menu items get disabled when they would do nothing.
- Bookmark deletion only deletes the closest bookmark instead of all of
  them within the proximity of 2 seconds to current clock time. Action
  is only however *enabled* within 2 seconds of a bookmark.

Additionally, logic was moved out of `Editor` because it's a huge class
and I dislike huge classes if they can be at all avoided.
2025-02-05 15:28:27 +01:00
Bartłomiej Dach
78e85dc2c7
Add beatmap submission support 2025-02-05 14:01:37 +01:00
Bartłomiej Dach
fff99a8b40
Implement special exporter intended specifically for submission flows 2025-02-05 14:01:37 +01:00
Bartłomiej Dach
7d299bb2ad
Expose EndpointConfiguration directly in IAPIAccess 2025-02-05 13:31:37 +01:00
Bartłomiej Dach
092b953dca
Implement visual component for displaying submission progress 2025-02-05 13:31:35 +01:00
Dean Herbert
c37fa261c3
Merge pull request #31789 from bdach/distance-snap-fix
Fix distance snap grid not properly working due to multiple issues
2025-02-05 18:41:46 +09:00
Dean Herbert
9b79cf6c61
Merge pull request #31784 from bdach/bss/wizard-appearance
Implement visual appearance of beatmap submission wizard
2025-02-05 17:34:30 +09:00