Skip to content

Commit

Permalink
fmt src
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Apr 25, 2024
1 parent 3b1e223 commit 4400bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/proc_editor_micromap.pas
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ procedure EditorPaintMicromap(Ed: TATSynEdit; ACanvas: TCanvas; const ARect: TRe
//but gap is absent for small count of lines and for very big doc
NRectHeight:= ARect.Height;
if Ed.GetVisibleLines * NRectHeight div NScaleDiv < UiOps.MicromapMinViewareaHeight then
Dec(NRectHeight, UiOps.MicromapMinViewareaHeight-1);
Dec(NRectHeight, UiOps.MicromapMinViewareaHeight-1);
NRectHeight:= Max(1, NRectHeight);

//NWidthSmall:= Ed.TextCharSize.XScaled div 2 div ATEditorCharXScale; //50% of char width
Expand Down

0 comments on commit 4400bca

Please sign in to comment.