Browse Source

Minimized calls of Initialize for the time being.
The GUI seems to behave well like this and is faster.

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6784 8c9fc860-2736-0410-a75d-ab315db34111

felixf 9 năm trước cách đây
mục cha
commit
10a601d91d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/WMComponents.Mod

+ 1 - 1
source/WMComponents.Mod

@@ -589,7 +589,7 @@ TYPE
 						END;
 						c := GetNext(c);
 					END;	
-					Initialize;
+					IF ~initialized THEN Initialize END;
 				END;
 			END
 		END Reset;