You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2021/03/01 06:59:38 UTC
[incubator-hop] branch master updated: HOP-2579 Fix ValueMeta image
pixelized
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/master by this push:
new df399e6 HOP-2579 Fix ValueMeta image pixelized
new 87a5f22 Merge pull request #651 from nadment/HOP-2579
df399e6 is described below
commit df399e6381d07225ead57bac69006f4e39aa9784
Author: nadment <na...@gmail.com>
AuthorDate: Sun Feb 28 18:14:32 2021 +0100
HOP-2579 Fix ValueMeta image pixelized
---
ui/src/main/java/org/apache/hop/ui/core/gui/GuiResource.java | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/ui/src/main/java/org/apache/hop/ui/core/gui/GuiResource.java b/ui/src/main/java/org/apache/hop/ui/core/gui/GuiResource.java
index 97dbed9..f5b8415 100644
--- a/ui/src/main/java/org/apache/hop/ui/core/gui/GuiResource.java
+++ b/ui/src/main/java/org/apache/hop/ui/core/gui/GuiResource.java
@@ -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 ["