mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Fix marching ants flicker when the user draws.
This commit is contained in:
parent
3082eae163
commit
61b6500f72
@ -480,6 +480,10 @@ void Editor::drawSprite(int x1, int y1, int x2, int y2)
|
|||||||
this->drawGrid(settings->getGridBounds(),
|
this->drawGrid(settings->getGridBounds(),
|
||||||
settings->getGridColor());
|
settings->getGridColor());
|
||||||
|
|
||||||
|
// Draw the mask
|
||||||
|
if (m_document->getBoundariesSegments())
|
||||||
|
this->drawMask();
|
||||||
|
|
||||||
// Post-render decorator.
|
// Post-render decorator.
|
||||||
if (m_decorator) {
|
if (m_decorator) {
|
||||||
EditorPostRenderImpl postRender(this);
|
EditorPostRenderImpl postRender(this);
|
||||||
@ -955,7 +959,6 @@ bool Editor::onProcessMessage(Message* msg)
|
|||||||
jdraw_rectfill(vp, theme->get_editor_face_color());
|
jdraw_rectfill(vp, theme->get_editor_face_color());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user