mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 13:05:58 +01:00
parent
4b74123649
commit
4ffcdc41ff
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ void SLayerSurface::startAnimation(bool in, bool instant) {
|
|||
}
|
||||
|
||||
realSize.setValueAndWarp(geometry.size());
|
||||
alpha.setValueAndWarp(1.f);
|
||||
alpha.setValueAndWarp(in ? 0.f : 1.f);
|
||||
alpha = in ? 1.f : 0.f;
|
||||
|
||||
Vector2D prePos;
|
||||
|
||||
|
|
Loading…
Reference in a new issue