Sfoglia il codice sorgente

Scroll issues fix attempt (revert 1270c6c6)

Leonardo Jeanteur 2 anni fa
parent
commit
7e085c133a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      hide/comp/cdb/Editor.hx

+ 1 - 1
hide/comp/cdb/Editor.hx

@@ -805,13 +805,13 @@ class Editor extends Component {
 					if( t.sheet.getPath() == cursor.table.sheet.getPath() )
 						cursor.table = t;
 				}
+				cursor.update();
 			}
 		} else
 			refresh(state);
 
 		if( cdbTable != null )
 			@:privateAccess cdbTable.syncTabs();
-		haxe.Timer.delay(() -> cursor.update(), 1); // scroll
 	}
 
 	public static var inRefreshAll(default,null) : Bool;