mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:03:21 +08:00
Merge pull request #21306 from frenzibyte/fix-editor-seeking-state
Fix editor not always playing hitsounds with clock offsets applied
This commit is contained in:
commit
5fda702267
@ -270,7 +270,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
{
|
{
|
||||||
IsSeeking &= Transforms.Any();
|
IsSeeking &= Transforms.Any();
|
||||||
|
|
||||||
if (track.Value?.IsRunning != true)
|
if (!IsRunning)
|
||||||
{
|
{
|
||||||
// seeking in the editor can happen while the track isn't running.
|
// seeking in the editor can happen while the track isn't running.
|
||||||
// in this case we always want to expose ourselves as seeking (to avoid sample playback).
|
// in this case we always want to expose ourselves as seeking (to avoid sample playback).
|
||||||
|
Loading…
Reference in New Issue
Block a user