Commit 0ec2941
committed
Replacing custom logic in Help>Search results to disable icons, with Image constructor call
For the results displayed in Help>Search, Previously, icons for disabled
search hits were created by custom pixel-level manipulation using
ImageData. This approach, at high zoom levels (e.g., 225%), causes icons
to appear slightly distorted, as scaling of ImageData is a destructive
operation. This logic has now been replaced by a call to the Image
constructor with the flag set to disabled.
Contributes to: vi-eclipse/Eclipse-Platform#1991 parent 53c100e commit 0ec2941
File tree
1 file changed
+3
-37
lines changed- ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views
1 file changed
+3
-37
lines changedLines changed: 3 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | | - | |
161 | | - | |
162 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
163 | 162 | | |
164 | 163 | | |
165 | 164 | | |
| |||
304 | 303 | | |
305 | 304 | | |
306 | 305 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | 306 | | |
341 | 307 | | |
342 | 308 | | |
| |||
0 commit comments