mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Always scroll source to selected line.
This commit is contained in:
@@ -829,7 +829,7 @@ void TextEditor::SetReadOnly(bool aValue)
|
||||
|
||||
void TextEditor::SetCursorPosition(const Coordinates & aPosition)
|
||||
{
|
||||
if (mState.mCursorPosition != aPosition)
|
||||
//if (mState.mCursorPosition != aPosition)
|
||||
{
|
||||
mState.mCursorPosition = aPosition;
|
||||
EnsureCursorVisible();
|
||||
|
||||
Reference in New Issue
Block a user