Browse Source

V3041 implicit int conversion causes fractional loss

pull/5/head
Gerhard Olsson 7 years ago
parent
commit
d6719be358
  1. 2
      Project/Src/Gui/FoldMargin.cs

2
Project/Src/Gui/FoldMargin.cs

@ -110,7 +110,7 @@ namespace ICSharpCode.TextEditor
DrawFoldMarker(
g, new RectangleF(
drawingRectangle.X + (drawingRectangle.Width - foldMarkerSize)/2,
drawingRectangle.X + (drawingRectangle.Width - foldMarkerSize)/2f,
foldMarkerYPos,
foldMarkerSize,
foldMarkerSize),

Loading…
Cancel
Save