Debugger: Fixed scrolling issue when updating code viewer without updating active address
This commit is contained in:
parent
94b79c6527
commit
7619ff83c9
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ namespace Mesen.GUI.Debugger.Controls
|
||||||
int lineIndex = _manager.Provider.GetLineIndex((UInt32)centerLineAddress) + scrollOffset;
|
int lineIndex = _manager.Provider.GetLineIndex((UInt32)centerLineAddress) + scrollOffset;
|
||||||
ctrlCode.ScrollToLineIndex(lineIndex, eHistoryType.None, false, true);
|
ctrlCode.ScrollToLineIndex(lineIndex, eHistoryType.None, false, true);
|
||||||
}
|
}
|
||||||
|
GoToActiveAddress();
|
||||||
}
|
}
|
||||||
|
|
||||||
public ctrlScrollableTextbox CodeViewer { get { return ctrlCode; } }
|
public ctrlScrollableTextbox CodeViewer { get { return ctrlCode; } }
|
||||||
|
|
Loading…
Add table
Reference in a new issue