Commit cf93e41
committed
Replace manual image instantiation with createImage() for better scaling
Replaced direct image creation using new
Image(...,descriptor.getImageData()) descriptor.getImageData()) with
descriptor.createImage() in AsynchronousViewer and
TreeModelLabelProvider. This change makes icons now render sharply even
at higher zoom levels (e.g.,225%).
Contributes to vi-eclipse/Eclipse-Platform#1991 parent 4cca978 commit cf93e41
File tree
2 files changed
+2
-2
lines changed- debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers
- model
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments