aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/hyprerror
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-01-23 12:04:48 +0000
committervaxerski <[email protected]>2023-01-23 12:04:48 +0000
commitc074f260a16587a502f67a28818656346e8a1631 (patch)
treec9032ec2a3087b2bdbf6fcf7e958b7b7131268f2 /src/hyprerror
parentcb98242ea7faff04dad3ae166aff7126184f17c5 (diff)
downloadHyprland-c074f260a16587a502f67a28818656346e8a1631.tar.gz
Hyprland-c074f260a16587a502f67a28818656346e8a1631.zip
use proper fade anims for hyprerror
Diffstat (limited to 'src/hyprerror')
-rw-r--r--src/hyprerror/HyprError.cpp3
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;
}
}