Commit 0ea84cd
committed
Use constructor Image(Device, ImageDataProvider) in DefaultRangeIndicator
DefaultRangeIndicator previously used Image(Device, ImageData) constructor to draw a grid to display the selected range.
Previously, the grid was rendered using a 1×1 pixel checkerboard pattern
(blue and white), which was mainly inteded to work at 100% zoom.
However, at higher zoom levels (e.g., 150%, 200%), the visual intensity
of the pattern becomes different, causing the grid to appear visually
inconsistent across zooms.1 parent 5dc925c commit 0ea84cd
File tree
1 file changed
+22
-13
lines changed- bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor
1 file changed
+22
-13
lines changedLines changed: 22 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
150 | 159 | | |
151 | | - | |
| 160 | + | |
152 | 161 | | |
153 | 162 | | |
154 | 163 | | |
| |||
0 commit comments