Commit bd682b2

Nick committed on
Bring back in the timer hack
commit bd682b2296eb4d728d9bbd7043b0ca2456950f14 parent 6c394f7
2 changed files +5−4
Modifiedtracker.lfm +2−2
@@ -1,7 +1,7 @@
1 object frmTracker: TfrmTracker 1 object frmTracker: TfrmTracker
2 Left = 873 2 Left = 1063
3 Height = 1250 3 Height = 1250
4 Top = 208 4 Top = 283
5 Width = 2067 5 Width = 2067
6 Caption = 'hUGETracker' 6 Caption = 'hUGETracker'
7 ClientHeight = 1216 7 ClientHeight = 1216
Modifiedtracker.pas +3−2
@@ -1145,6 +1145,7 @@ begin
1145 finally 1145 finally
1146 stream.Free; 1146 stream.Free;
1147 end; 1147 end;
1148 FileSaveAs1.Dialog.FileName := FileOpen1.Dialog.FileName;
1148 1149
1149 UpdateUIAfterLoad; 1150 UpdateUIAfterLoad;
1150 end; 1151 end;
@@ -1526,10 +1527,10 @@ var
1526 begin 1527 begin
1527 // HACK: Avoid LCL bug where modal windows can't close. 1528 // HACK: Avoid LCL bug where modal windows can't close.
1528 if frmOptions.Visible or frmEffectEditor.Visible then Exit; 1529 if frmOptions.Visible or frmEffectEditor.Visible then Exit;
1529 {if Playing then 1530 if Playing then
1530 OscilloscopeUpdateTimer.Interval := 25 1531 OscilloscopeUpdateTimer.Interval := 25
1531 else 1532 else
1532 OscilloscopeUpdateTimer.Interval := 200;} 1533 OscilloscopeUpdateTimer.Interval := 200;
1533 1534
1534 Max1 := -1; 1535 Max1 := -1;
1535 Max2 := -1; 1536 Max2 := -1;