Skip to content

Commit

Permalink
improved color scheme of the links
Browse files Browse the repository at this point in the history
  • Loading branch information
Wisser committed Nov 19, 2024
1 parent c7ee362 commit 5e96982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/gui/net/sf/jailer/ui/Colors.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private static void initColors() {
ColorAssoc_2_3.init(new Color(70, 255, 70));
ColorAssoc_2_4.init(new Color(245, 90, 60), new Color(235, 100, 70));
Color_153_153_153.init(new Color(153, 153, 153), ColorAssoc_2_2.dark);
Color_170_200_0.init(new Color(120, 140, 0), new Color(150, 160, 0)); // link join
Color_170_200_0.init(new Color(130, 140, 0), new Color(150, 160, 0)); // link join

Color_224_224_224.init(new Color(224, 224, 224), new Color(96, 96, 96));
Color_220_255_220.init(new Color(220, 255, 220), new Color(30, 61, 30));
Expand Down
2 changes: 1 addition & 1 deletion src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java
Original file line number Diff line number Diff line change
Expand Up @@ -2582,7 +2582,7 @@ private void paintLink(Point2D start, Point2D end, Color color, Color fgColor, G
} else if (UIUtil.plaf.isFlat) {
double f = UIUtil.plaf == PLAF.FLATDARK? 0.5 : 3;
if (fgColor.getBlue() < 4 && fgColor.getGreen() > 99 && fgColor.getRed() > 99) {
f = UIUtil.plaf == PLAF.FLATDARK? 0.4 : 1.4;
f = UIUtil.plaf == PLAF.FLATDARK? 0.4 : 1.8;
} else {
if (fgColor.getGreen() > fgColor.getRed() + fgColor.getBlue()) {
f = UIUtil.plaf == PLAF.FLATDARK? 0.6 : 1.5;
Expand Down

0 comments on commit 5e96982

Please # to comment.