From c6eba26a67732fdeb579eacb4d083cd7d4958a90 Mon Sep 17 00:00:00 2001 From: Hivie Date: Fri, 28 Nov 2025 01:40:07 +0100 Subject: [PATCH] trim timestamp when pasting into `TimeInfoContainer` --- osu.Game/Screens/Edit/Components/TimeInfoContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Edit/Components/TimeInfoContainer.cs b/osu.Game/Screens/Edit/Components/TimeInfoContainer.cs index d17f9011f4..7de94cd22e 100644 --- a/osu.Game/Screens/Edit/Components/TimeInfoContainer.cs +++ b/osu.Game/Screens/Edit/Components/TimeInfoContainer.cs @@ -151,7 +151,7 @@ namespace osu.Game.Screens.Edit.Components }); }; - inputTextBox.Current.BindValueChanged(val => editor?.HandleTimestamp(val.NewValue)); + inputTextBox.Current.BindValueChanged(val => editor?.HandleTimestamp(val.NewValue.Trim())); inputTextBox.OnCommit += (_, __) => {