Variant 2: edit changes history, cannot reset index (similar to stable)

This commit is contained in:
Terochi
2022-11-21 09:38:33 +01:00
parent 8f942f130b
commit 672e1cd45b
2 changed files with 1 additions and 7 deletions

View File

@ -33,12 +33,6 @@ namespace osu.Game.Graphics.UserInterface
public HistoryTextBox(int capacity = 100)
{
messageHistory = new LimitedCapacityQueue<string>(capacity);
Current.ValueChanged += text =>
{
if (string.IsNullOrEmpty(text.NewValue))
selectedIndex = HistoryCount;
};
}
protected override bool OnKeyDown(KeyDownEvent e)