The document's own pixel budget, marching ants at screen resolution (12.11a)

This commit is contained in:
雷电芽衣 committed 2026-09-29 00:19:45 -04:00
1 parent ffba1753c6
commit 8a9c56ee1f
75 files changed
+759 -189

No files matched your search

+9
View File
@@ -288,6 +288,15 @@ void CanvasView::stopMarqueeAutoscroll()
m_marqueeAutoscrollPoint = std::nullopt;
}
void CanvasView::stepAnts()
{
if (m_antsRepaintPending)
return;
m_overlay.antsPhase = std::fmod(m_overlay.antsPhase + 1, 8.0);
m_antsRepaintPending = true;
update(m_overlay.selectionRect(rect()));
}
// Marching ants animate only while a visible selection exists.
void CanvasView::updateAntsTimer()
{