Skip to content

Commit 047fde5

Browse files
Update bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/DefaultRangeIndicator.java
Co-authored-by: Federico Jeanne <[email protected]>
1 parent 4723e32 commit 047fde5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/DefaultRangeIndicator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ private static Image createImage(Display display, Point size, Color rangeIndicat
143143
ImageDataProvider imageDataProvider = zoom -> {
144144

145145
float scaleFactor = (float) ((zoom) / 100.0);
146-
int scaled_width = Math.round(width * scaleFactor);
147-
int scaled_height = Math.round(height * scaleFactor);
146+
int scaledWidth = Math.round(width * scaleFactor);
147+
int scaledHeight = Math.round(height * scaleFactor);
148148
ImageData imageData = new ImageData(scaled_width, scaled_height,
149149
1,
150150
createPalette(display, rangeIndicatorColor));

0 commit comments

Comments
 (0)