The document's own pixel budget, marching ants at screen resolution (12.11a)
This commit is contained in:
1 parent
ffba1753c6
commit
8a9c56ee1f
75 files changed
+759
-189
No files matched your search
@@ -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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user