mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 00:26:07 +02:00
fix: set input field insertion point to end after autocomplete
This commit is contained in:
@@ -572,6 +572,9 @@ public sealed partial class MainWindow : Runnable
|
|||||||
if (prefix.Length > text.Length)
|
if (prefix.Length > text.Length)
|
||||||
_inputField.Text = prefix;
|
_inputField.Text = prefix;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Move cursor to end after autocomplete
|
||||||
|
_inputField.InsertionPoint = new System.Drawing.Point(_inputField.Text?.Length ?? 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnChatViewportChanged()
|
private void OnChatViewportChanged()
|
||||||
|
|||||||
Reference in New Issue
Block a user