mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-23 23:20:42 -04:00
blur is brighter
This commit is contained in:
parent
bf4f1965a1
commit
8574e372c3
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.12 : brightness);
|
||||
KeyValue kv2 = new KeyValue(darken.brightnessProperty(), CssTheme.isDarkTheme() ? brightness * -0.15 : 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