From fc3db6bd458cef04ca40e412aaf21673bba4b50f Mon Sep 17 00:00:00 2001 From: Wisser Date: Mon, 21 Oct 2024 23:13:17 +0200 Subject: [PATCH] improved color scheme of the links --- src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java b/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java index 38fb94bea..e3aca4fb1 100644 --- a/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java +++ b/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java @@ -2487,7 +2487,7 @@ public int compare(Link a, Link b) { boolean sameY = tableBrowser.parent != null && Math.abs(tableBrowser.internalFrame.getY() - tableBrowser.parent.internalFrame.getY()) < 32; int linkPrio = 0; if (link.notHAligned) { - if (link.inClosure) { + if (link.inClosure || sameY) { linkPrio += 1; } } else {