mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 18:20:12 +08:00
Merge pull request #35835 from Hiviexd/trim-timestamp-when-pasting
Trim editor timestamp when pasting into `TimeInfoContainer`
This commit is contained in:
@@ -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 += (_, __) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user