mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:45:58 +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;
|
const std::string STYLE = PANIMVAR->getConfig()->pValues->internalStyle;
|
||||||
|
|
||||||
if (STYLE != "loop")
|
if (STYLE != "loop" || !PANIMVAR->getConfig()->pValues->internalEnabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
PANIMVAR->setCallbackOnEnd(nullptr); // we remove the callback here because otherwise setvalueandwarp will recurse this
|
PANIMVAR->setCallbackOnEnd(nullptr); // we remove the callback here because otherwise setvalueandwarp will recurse this
|
||||||
|
|
Loading…
Reference in a new issue