summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2023-12-10 16:28:12 +0000
committerGitHub <noreply@github.com>2023-12-10 16:28:12 +0000
commit9f5b9053c6fb7942a0ff27dc61fc6874e4354888 (patch)
treef117abba6e6b5c2f4a673e67039225f7fca04be2 /src/managers/AnimationManager.cpp
parentb3dc58e1047cba0778831bdb069c3ceba6ec216e (diff)
internal: Remake borders as window decorations (#4104)
Diffstat (limited to 'src/managers/AnimationManager.cpp')
-rw-r--r--src/managers/AnimationManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp
index 3d6ebdd8..120e6f49 100644
--- a/src/managers/AnimationManager.cpp
+++ b/src/managers/AnimationManager.cpp
@@ -229,6 +229,8 @@ void CAnimationManager::tick() {
case AVARDAMAGE_BORDER: {
RASSERT(PWINDOW, "Tried to AVARDAMAGE_BORDER a non-window AVAR!");
+ // TODO: move this to the border class
+
// damage only the border.
static auto* const PROUNDING = &g_pConfigManager->getConfigValuePtr("decoration:rounding")->intValue;
const auto ROUNDINGSIZE = *PROUNDING + 1;