config: disable borderangle by default (#9165)

This commit is contained in:
Maximilian Seidler
2025-01-25 18:23:36 +00:00
committed by GitHub
parent 065e89648b
commit 107723bdf4
2 changed files with 6 additions and 3 deletions

View File

@@ -552,9 +552,11 @@ void CWindow::onMap() {
m_fMovingFromWorkspaceAlpha->setValueAndWarp(1.F);
m_fBorderAngleAnimationProgress->setValueAndWarp(0.f);
m_fBorderAngleAnimationProgress->setCallbackOnEnd([&](WP<CBaseAnimatedVariable> p) { onBorderAngleAnimEnd(p); }, false);
*m_fBorderAngleAnimationProgress = 1.f;
if (m_fBorderAngleAnimationProgress->enabled()) {
m_fBorderAngleAnimationProgress->setValueAndWarp(0.f);
m_fBorderAngleAnimationProgress->setCallbackOnEnd([&](WP<CBaseAnimatedVariable> p) { onBorderAngleAnimEnd(p); }, false);
*m_fBorderAngleAnimationProgress = 1.f;
}
m_fMovingFromWorkspaceAlpha->setValueAndWarp(1.F);