mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Use Action<string>
for event OnChatMessageCommitted
& clear textbox internally
This commit is contained in:
@ -88,11 +88,10 @@ namespace osu.Game.Tests.Visual.Online
|
||||
},
|
||||
};
|
||||
|
||||
bar.OnChatMessageCommit += (sender, newText) =>
|
||||
bar.OnChatMessageCommitted += text =>
|
||||
{
|
||||
commitText.Text = $"OnChatMessageCommit: {sender.Text}";
|
||||
commitText.Text = $"OnChatMessageCommitted: {text}";
|
||||
commitText.FadeOutFromOne(1000, Easing.InQuint);
|
||||
sender.Text = string.Empty;
|
||||
};
|
||||
|
||||
bar.OnSearchTermsChanged += text =>
|
||||
|
Reference in New Issue
Block a user