animations: fix borderangle once (#9149)
This commit is contained in:
parent
fda9790cde
commit
80b2fd135b
3 changed files with 10 additions and 4 deletions
|
|
@ -1274,6 +1274,14 @@ void CWindow::onWorkspaceAnimUpdate() {
|
|||
m_vFloatingOffset = offset;
|
||||
}
|
||||
|
||||
void CWindow::onFocusAnimUpdate() {
|
||||
// borderangle once
|
||||
if (m_fBorderAngleAnimationProgress->enabled() && !m_fBorderAngleAnimationProgress->isBeingAnimated()) {
|
||||
m_fBorderAngleAnimationProgress->setValueAndWarp(0.f);
|
||||
*m_fBorderAngleAnimationProgress = 1.f;
|
||||
}
|
||||
}
|
||||
|
||||
int CWindow::popupsCount() {
|
||||
if (m_bIsX11)
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue