Changeset 330 for trunk/ClientGUI.pas
- Timestamp:
- Jul 19, 2024, 9:46:33 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ClientGUI.pas
r318 r330 195 195 Pen.Width := 0; 196 196 end; 197 198 // Cannot set clear border as it will display shifted on gtk2 199 //Pen.Style := psClear; 200 Pen.Style := psSolid; 201 if CellGridVisible then begin 202 Pen.Color := clBlack; 203 Pen.Width := Round(2 * View.Zoom); 204 end else begin 205 Pen.Color := Brush.Color; 206 Pen.Width := 0; 207 end; 208 197 209 // Transform view 198 210 SetLength(Points, Length(Cell.Polygon.Points)); … … 684 696 else NewZoom := Factor.Y; 685 697 if NewZoom = 0 then NewZoom := 1; 686 Zoom := NewZoom ;698 Zoom := NewZoom * 0.9; 687 699 CenterMap; 688 700 end;
Note:
See TracChangeset
for help on using the changeset viewer.