diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-14 17:10:17 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-14 17:10:17 +0000 |
| commit | 61c817319f27d988b8ae7cfe66d0a0339f760a29 (patch) | |
| tree | a1f0747f1567d73b4f4d9c85d7d6b1a357e3078b /src/Window.cpp | |
| parent | 127e80692f78b0d91450194fcb4ce0009c2a98a4 (diff) | |
don't loop border anim on disabled
Diffstat (limited to 'src/Window.cpp')
| -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 |
