mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-25 15:20:40 -04:00
decrease blur brightness
This commit is contained in:
parent
06a82a26cc
commit
f8618df86f
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ public class Transitions {
|
|||
ColorAdjust darken = new ColorAdjust();
|
||||
darken.setBrightness(0.0);
|
||||
blur.setInput(darken);
|
||||
KeyValue kv2 = new KeyValue(darken.brightnessProperty(), CssTheme.isDarkTheme() ? brightness * -0.15 : brightness);
|
||||
KeyValue kv2 = new KeyValue(darken.brightnessProperty(), CssTheme.isDarkTheme() ? brightness * -0.13 : brightness);
|
||||
KeyFrame kf2 = new KeyFrame(Duration.millis(getDuration(duration)), kv2);
|
||||
timeline.getKeyFrames().addAll(kf1, kf2);
|
||||
node.setEffect(blur);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue