summaryrefslogtreecommitdiff
path: root/src/helpers/Box.hpp
diff options
context:
space:
mode:
authorthejch <66577496+thejch@users.noreply.github.com>2024-03-30 18:14:26 -0700
committerGitHub <noreply@github.com>2024-03-31 02:14:26 +0100
commit16a9c16d9f99bd8be9f1bb15442b001fdf2ea759 (patch)
treef9cb60dc2d92519079699e9cb6e71e562b55a8a5 /src/helpers/Box.hpp
parent1cc9a44318e53a34f41cc36483502de985b88cf8 (diff)
renderer/animations: Fix various inaccurate damage tracking issues and offsets (#5297)
Diffstat (limited to 'src/helpers/Box.hpp')
-rw-r--r--src/helpers/Box.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Box.hpp b/src/helpers/Box.hpp
index e38d6108..98ba8d47 100644
--- a/src/helpers/Box.hpp
+++ b/src/helpers/Box.hpp
@@ -52,9 +52,9 @@ class CBox {
CBox& addExtents(const SWindowDecorationExtents& e);
CBox& expand(const double& value);
CBox& noNegativeSize();
- CBox& intersection(const CBox other);
CBox copy() const;
+ CBox intersection(const CBox other) const;
SWindowDecorationExtents extentsFrom(const CBox&); // this is the big box