Răsfoiți Sursa

Revert last scroll fix attempt

Leonardo Jeanteur 2 ani în urmă
părinte
comite
e99e35fa08
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;