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/01/16 22:41:31 UTC
[incubator-hop] branch master updated: Hop-2432 Fix the data icon
position
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 0cda6e7 Hop-2432 Fix the data icon position
new 4067a29 Merge pull request #561 from nadment/HOP-2432
0cda6e7 is described below
commit 0cda6e706d2b411d428c3f6c7d31d72a9fa37397
Author: nadment <na...@gmail.com>
AuthorDate: Sat Jan 16 23:00:14 2021 +0100
Hop-2432 Fix the data icon position
---
engine/src/main/java/org/apache/hop/pipeline/PipelinePainter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/engine/src/main/java/org/apache/hop/pipeline/PipelinePainter.java b/engine/src/main/java/org/apache/hop/pipeline/PipelinePainter.java
index b2e0045..608eabd 100644
--- a/engine/src/main/java/org/apache/hop/pipeline/PipelinePainter.java
+++ b/engine/src/main/java/org/apache/hop/pipeline/PipelinePainter.java
@@ -650,8 +650,8 @@ public class PipelinePainter extends BasePainter<PipelineHopMeta, TransformMeta>
RowBuffer rowBuffer = outputRowsMap.get(transformMeta.getName());
if (rowBuffer != null && !rowBuffer.isEmpty()) {
int iconWidth = miniIconSize;
- int iconX = x + iconSize - iconWidth + 10;
- int iconY = y + iconSize - iconWidth + 10;
+ int iconX = x + iconSize - (miniIconSize / 2) + 1;
+ int iconY = y + iconSize - (miniIconSize / 2) + 1;
gc.drawImage(EImage.DATA, iconX, iconY, magnification);
areaOwners.add(
new AreaOwner(