Ignore:
Timestamp:
Jan 10, 2025, 4:24:19 PM (7 hours ago)
Author:
chronos
Message:
  • Modified: Lowered idle CPU consumption.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormClient.pas

    r404 r414  
    320320  if RedrawPending and not Drawing then begin
    321321    Drawing := True;
    322     if not Core.Core.DevelMode then RedrawPending := False;
     322    RedrawPending := False;
     323    Timer1.Enabled := False;
    323324    TimerPeriod := (9 * TimerPeriod + (Now - LastTimerTime)) / 10;
    324325    LastTimerTime := Now;
     
    358359begin
    359360  Redraw;
     361  Core.Core.FormMain.UpdateInterface;
    360362end;
    361363
     
    421423begin
    422424  RedrawPending := True;
     425  Timer1.Enabled := True;
    423426end;
    424427
Note: See TracChangeset for help on using the changeset viewer.