mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 18:49:49 +01:00
don't loop border anim on disabled
This commit is contained in:
parent
127e80692f
commit
61c817319f
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ void CWindow::onBorderAngleAnimEnd(void* ptr) {
|
|||
|
||||
const std::string STYLE = PANIMVAR->getConfig()->pValues->internalStyle;
|
||||
|
||||
if (STYLE != "loop")
|
||||
if (STYLE != "loop" || !PANIMVAR->getConfig()->pValues->internalEnabled)
|
||||
return;
|
||||
|
||||
PANIMVAR->setCallbackOnEnd(nullptr); // we remove the callback here because otherwise setvalueandwarp will recurse this
|
||||
|
|
Loading…
Reference in a new issue