Fix ValueMeta image pixelized
@@ -881,13 +881,7 @@ public class GuiResource {
Image image = null;
try {
ClassLoader classLoader = registry.getClassLoader(plugin);
- image =
- SwtSvgImageUtil.getImage(
- Display.getCurrent(),
- classLoader,
- plugin.getImageFile(),
- ConstUi.SMALL_ICON_SIZE,
- ConstUi.SMALL_ICON_SIZE);
+ image = getImage(plugin.getImageFile(), classLoader, ConstUi.SMALL_ICON_SIZE, ConstUi.SMALL_ICON_SIZE);
} catch (Throwable t) {
log.logError(
"Error occurred loading image ["
