Skip to content

Commit 3512730

Browse files
author
Martin
committed
I've set up the transparancy for Linux a little finer
1 parent 0af8b4d commit 3512730

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/de/doubleslash/keeptime/view/SettingsController.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ private void initialize() {
6767
LOG.info("Save clicked");
6868

6969
if (System.getProperty("os.name").contains("Linux")) {
70-
if (hoverBackgroundColor.getValue().getOpacity() < 0.5) {
70+
if (hoverBackgroundColor.getValue().getOpacity() < 0.51) {
7171
hoverBackgroundColor.setValue(Color.rgb((int) hoverBackgroundColor.getValue().getRed() * 255,
7272
(int) hoverBackgroundColor.getValue().getGreen() * 255,
73-
(int) hoverBackgroundColor.getValue().getBlue() * 255, 0.5));
73+
(int) hoverBackgroundColor.getValue().getBlue() * 255, 0.51));
7474
}
75-
if (defaultBackgroundColor.getValue().getOpacity() < 0.5) {
75+
if (defaultBackgroundColor.getValue().getOpacity() < 0.51) {
7676
defaultBackgroundColor.setValue(Color.rgb((int) defaultBackgroundColor.getValue().getRed() * 255,
7777
(int) defaultBackgroundColor.getValue().getGreen() * 255,
78-
(int) defaultBackgroundColor.getValue().getBlue() * 255, 0.5));
78+
(int) defaultBackgroundColor.getValue().getBlue() * 255, 0.51));
7979
}
8080
}
8181

0 commit comments

Comments
 (0)