diff options
author | vaxerski <[email protected]> | 2023-01-23 12:04:48 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-01-23 12:04:48 +0000 |
commit | c074f260a16587a502f67a28818656346e8a1631 (patch) | |
tree | c9032ec2a3087b2bdbf6fcf7e958b7b7131268f2 /src/hyprerror | |
parent | cb98242ea7faff04dad3ae166aff7126184f17c5 (diff) | |
download | Hyprland-c074f260a16587a502f67a28818656346e8a1631.tar.gz Hyprland-c074f260a16587a502f67a28818656346e8a1631.zip |
use proper fade anims for hyprerror
Diffstat (limited to 'src/hyprerror')
-rw-r--r-- | src/hyprerror/HyprError.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp index e7a06b1a..aeb96d5c 100644 --- a/src/hyprerror/HyprError.cpp +++ b/src/hyprerror/HyprError.cpp @@ -21,6 +21,8 @@ void CHyprError::createQueued() { m_tTexture.destroyTexture(); } + m_fFadeOpacity.setConfig(g_pConfigManager->getAnimationPropertyConfig("fadeIn")); + m_fFadeOpacity.setValueAndWarp(0.f); m_fFadeOpacity = 1.f; @@ -129,6 +131,7 @@ void CHyprError::draw() { m_szQueued = ""; return; } else { + m_fFadeOpacity.setConfig(g_pConfigManager->getAnimationPropertyConfig("fadeOut")); m_fFadeOpacity = 0.f; } } |