no need to waste CPU time on rendering things in mutator when it's invisible

This commit is contained in:
zueuk 2008-07-25 13:27:31 +00:00
parent a7b71e77ad
commit 77fcc571e3

View File

@ -190,6 +190,8 @@ procedure TMutateForm.ShowMutants;
var var
i: integer; i: integer;
begin begin
if Visible = false then exit;
Updating := true; Updating := true;
for i := 1 to 8 do for i := 1 to 8 do
begin begin