mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-25 15:05:25 +00:00
editor: don't refresh debug state if line hasn't changed
This commit is contained in:
1 parent
1de2f59c5f
commit
f830bc2d2a
1 file changed
+1
-1
@@ -608,7 +608,7 @@ export class SourceEditor implements ProjectView {
|
||||
|
||||
refreshDebugState(moveCursor: boolean) {
|
||||
var line = this.getActiveLine();
|
||||
if (!line && !this.currentDebugLine && !moveCursor) {
|
||||
if (!moveCursor && (line === this.currentDebugLine || (!line && !this.currentDebugLine))) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user