diff options
author | vaxerski <[email protected]> | 2023-02-14 17:10:17 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-02-14 17:10:17 +0000 |
commit | 61c817319f27d988b8ae7cfe66d0a0339f760a29 (patch) | |
tree | a1f0747f1567d73b4f4d9c85d7d6b1a357e3078b | |
parent | 127e80692f78b0d91450194fcb4ce0009c2a98a4 (diff) | |
download | Hyprland-61c817319f27d988b8ae7cfe66d0a0339f760a29.tar.gz Hyprland-61c817319f27d988b8ae7cfe66d0a0339f760a29.zip |
don't loop border anim on disabled
-rw-r--r-- | src/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp index 3d109667..de44f28d 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -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 |