mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-28 18:32:50 +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(),
|
||||
settings->getGridColor());
|
||||
|
||||
// Draw the mask
|
||||
if (m_document->getBoundariesSegments())
|
||||
this->drawMask();
|
||||
|
||||
// Post-render decorator.
|
||||
if (m_decorator) {
|
||||
EditorPostRenderImpl postRender(this);
|
||||
@ -955,7 +959,6 @@ bool Editor::onProcessMessage(Message* msg)
|
||||
jdraw_rectfill(vp, theme->get_editor_face_color());
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user