Commit Graph

54343 Commits

Author SHA1 Message Date
be0d73f951 Merge branch 'master' into fps-counter-cleanup 2022-07-22 15:39:37 +09:00
1774a96455 Merge pull request #19278 from Cwazywierdo/timeline-relative-zoom
Make editor timeline zoom relative to song length
2022-07-22 15:37:47 +09:00
5444ce0cc9 Merge pull request #19277 from peppy/fps-counter-no-rolling-counter
Avoid using `RollingCounter` in fps counter
2022-07-22 15:28:13 +09:00
6eb42d08ce Fix timeline zoom receiving feedback from bindable changes
This causes the focal point zooming to not work (as the focal point is
lost). There's no need to handle ongoing changes to
`BeatmapInfo.TimelineZoom` because it is not a property which is changed
at runtime.
2022-07-22 15:25:57 +09:00
71912e10c4 Merge branch 'master' into fl-slider 2022-07-22 15:22:50 +09:00
3b913bb9ad Fix sorting mode not filling up to usable area in filter control 2022-07-22 09:15:48 +03:00
4cec9a085a Combine both calls to use same pathway 2022-07-22 14:59:20 +09:00
f366b8eea6 Merge branch 'master' into remove-nullable-disable-in-the-mods-for-catch-ruleset 2022-07-22 08:45:22 +03:00
f87efae115 Merge pull request #19293 from peppy/skin-editor-save-hotkey
Add the ability to save in the skin editor using system save hotkey
2022-07-22 14:43:34 +09:00
de966c2ba1 Merge pull request #19243 from LukynkaCZE/editor-save-toast
DIsplay toasts on beatmap/skin save
2022-07-22 14:06:30 +09:00
f713253d1b Fix formatting inconsistencies in empty ctors 2022-07-22 14:00:29 +09:00
92f59ce9a0 Add the ability to save in the skin editor using system save hotkey 2022-07-22 13:10:18 +09:00
c2c2c505a4 Combine FollowCircle and TickFollowCircle classes 2022-07-21 19:46:46 -07:00
ed94d7fce8 Fix requested changes 2022-07-22 02:46:17 +02:00
046a28f9b1 Merge branch 'master' into remove-nullable-disable-in-the-mods-for-catch-ruleset 2022-07-22 03:20:56 +03:00
997fe00cdc Fix zoom delta math 2022-07-21 17:29:13 -05:00
d69dc457ba Extract zoom delta method 2022-07-21 17:28:43 -05:00
ebe386c288 Merge branch 'ppy:master' into editor-save-toast 2022-07-22 00:25:23 +02:00
a3090003de Add tooltip showing contents of mod preset 2022-07-21 23:29:21 +02:00
bdff7f1ef4 Implement basic appearance of mod preset panels 2022-07-21 23:29:21 +02:00
de0a076eb6 Add model class for mod presets 2022-07-21 23:29:21 +02:00
6cd18fad99 Fix code inspections after base panel class extraction 2022-07-21 23:29:08 +02:00
d796b7d53c Extract base mod select overlay panel presentation logic 2022-07-21 22:37:00 +02:00
b9f5074c13 Merge branch 'fps-counter-no-rolling-counter' into fps-counter-cleanup 2022-07-22 02:22:01 +09:00
b3aa496ba7 Add handling of realm disposed exceptions 2022-07-22 00:14:30 +09:00
0eeafea500 Increase responsiveness to change slightly 2022-07-21 23:37:32 +09:00
726042d9ec Use switch instead of or 2022-07-21 23:16:28 +09:00
c140601c2d Cleanup pass on FPSCounter 2022-07-21 23:02:31 +09:00
fc6445caea Rate limit updates for good measure 2022-07-21 22:55:45 +09:00
3d2603e0eb Remove unused classes 2022-07-21 22:51:35 +09:00
3fad481a96 Avoid using RollingCounter in fps counter
It wasn't made to be updated every frame, and it shows. Inaccurate for
reasons I'm not really interested in investigating, because I don't want
to incur the `Transorm` overhead in the first place for an fps counter.

Was only used originally out of convenience.
2022-07-21 22:50:02 +09:00
a4f071fe53 Make zoom sensitivity relative to containers max zoom 2022-07-21 08:26:48 -05:00
5db4d9437a Add missing using statement 2022-07-21 21:39:24 +09:00
6fac34c721 Merge pull request #19274 from peppy/fix-fps-counter-fps-inaccuracy
Fix draw FPS being inaccurate due to using `ElapsedFrameTime`
2022-07-21 20:55:14 +09:00
2001d79bb2 Merge pull request #19269 from peppy/fix-update-button-test-failure
Fix `UpdateBeatmapSetButton` intermittent test failure
2022-07-21 20:36:00 +09:00
9c2f6103c5 Following the suggestion to mark the property as nullable. 2022-07-21 19:30:04 +08:00
2987ab6ff7 Merge pull request #19273 from peppy/fix-fps-counter-width-calculation
Fix FPS counter not being wide enough to show large fps numbers
2022-07-21 13:31:16 +03:00
4c4939d18d Fix draw FPS being inaccurate due to using ElapsedFrameTime
Had a feeling this would be the case.

Basically, we're calculating on the update thread and checking the last
value of draw thread's `ElapsedFrameTime`. In the case that value is
spiky, a completely incorrect fps can be displayed.

I've left the spike display do use `ElapsedFrameTime`, as
`FramesPerSecond` is too averaged to see spikes.
2022-07-21 19:17:58 +09:00
fb728fbed1 Fix FPS counter not being wide enough to show large fps numbers 2022-07-21 18:56:39 +09:00
94cd641fb4 Change migration to trigger reprocessing on every local beatmap
Was originally relying on the fact that this would be triggered due to a
null `LastOnlineUpdate`, but wouldn't cover the case of beatmaps with no
`OnlineID`.
2022-07-21 18:31:12 +09:00
1374738a0d Add test coverage 2022-07-21 18:20:46 +09:00
d5e0dba9da Change default value of StarRating to -1 2022-07-21 18:20:46 +09:00
04f48d8862 Add better log output and sleeping during gameplay sections 2022-07-21 18:20:46 +09:00
57a41c6897 Add basic background processor 2022-07-21 18:20:46 +09:00
68f28ff660 Add last applied version to RulesetInfo 2022-07-21 18:15:25 +09:00
aca19a005e Add versioning to difficulty calculators 2022-07-21 18:15:25 +09:00
559254db31 Merge branch 'master' into fix-update-button-test-failure 2022-07-21 11:15:43 +03:00
8f2287b968 Merge pull request #19268 from peppy/change-carousel-item-terminology
Change carousel terminology to not use `Children` / `InternalChildren`
2022-07-21 11:11:01 +03:00
aa7c16ee5f Merge branch 'master' into change-carousel-item-terminology 2022-07-21 10:29:13 +03:00
defadeef47 Merge pull request #19250 from peppy/fps-counter
Add game-side FPS counter
2022-07-21 16:26:38 +09:00