mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-22 19:28:29 +00:00
config: disable borderangle by default (#9165)
This commit is contained in:

committed by
GitHub

parent
065e89648b
commit
107723bdf4
@@ -882,6 +882,7 @@ void CConfigManager::setDefaultAnimationVars() {
|
|||||||
// init the root nodes
|
// init the root nodes
|
||||||
m_AnimationTree.setConfigForNode("global", 1, 8.f, "", "default");
|
m_AnimationTree.setConfigForNode("global", 1, 8.f, "", "default");
|
||||||
m_AnimationTree.setConfigForNode("__internal_fadeCTM", 1, 5.f, "", "linear");
|
m_AnimationTree.setConfigForNode("__internal_fadeCTM", 1, 5.f, "", "linear");
|
||||||
|
m_AnimationTree.setConfigForNode("borderangle", 0, 0.f, "", "default");
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<std::string> CConfigManager::resetHLConfig() {
|
std::optional<std::string> CConfigManager::resetHLConfig() {
|
||||||
|
@@ -552,9 +552,11 @@ void CWindow::onMap() {
|
|||||||
|
|
||||||
m_fMovingFromWorkspaceAlpha->setValueAndWarp(1.F);
|
m_fMovingFromWorkspaceAlpha->setValueAndWarp(1.F);
|
||||||
|
|
||||||
|
if (m_fBorderAngleAnimationProgress->enabled()) {
|
||||||
m_fBorderAngleAnimationProgress->setValueAndWarp(0.f);
|
m_fBorderAngleAnimationProgress->setValueAndWarp(0.f);
|
||||||
m_fBorderAngleAnimationProgress->setCallbackOnEnd([&](WP<CBaseAnimatedVariable> p) { onBorderAngleAnimEnd(p); }, false);
|
m_fBorderAngleAnimationProgress->setCallbackOnEnd([&](WP<CBaseAnimatedVariable> p) { onBorderAngleAnimEnd(p); }, false);
|
||||||
*m_fBorderAngleAnimationProgress = 1.f;
|
*m_fBorderAngleAnimationProgress = 1.f;
|
||||||
|
}
|
||||||
|
|
||||||
m_fMovingFromWorkspaceAlpha->setValueAndWarp(1.F);
|
m_fMovingFromWorkspaceAlpha->setValueAndWarp(1.F);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user