Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarChatBubbleSeparation.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 00:20:22 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 00:20:22 +1000
commit152af876550ec63bac9d7aa27b1994268c80f878 (patch)
treeec1ca9b7f013252505ad719990900a64cc3afc35 /source/frontend/StarChatBubbleSeparation.cpp
parent2496789ea7632556486560f80590d5ba7f8da0f5 (diff)
Fix broken regex, make game timestep non-const
Diffstat (limited to 'source/frontend/StarChatBubbleSeparation.cpp')
-rw-r--r--source/frontend/StarChatBubbleSeparation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/frontend/StarChatBubbleSeparation.cpp b/source/frontend/StarChatBubbleSeparation.cpp
index 23a34fe..ba22ed5 100644
--- a/source/frontend/StarChatBubbleSeparation.cpp
+++ b/source/frontend/StarChatBubbleSeparation.cpp
@@ -73,8 +73,8 @@ RectF separateBubble(List<RectF> const& sortedLeftEdges, List<RectF> const& sort
if (overlappingBoxes.empty())
break;
RectF overlapBoundBox = fold(overlappingBoxes, box, [](RectF const& a, RectF const& b) { return a.combined(b); });
- SpatialLogger::logPoly("screen", PolyF(box), { 255, 0, 0, 255 });
- SpatialLogger::logPoly("screen", PolyF(overlapBoundBox), { 0, 0, 255, 255 });
+ //SpatialLogger::logPoly("screen", PolyF(box), { 255, 0, 0, 255 });
+ //SpatialLogger::logPoly("screen", PolyF(overlapBoundBox), { 0, 0, 255, 255 });
auto height = box.height();
box.setYMin(overlapBoundBox.yMax());
box.setYMax(box.yMin() + height);