mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 14:40:02 +00:00
Fix bug in Editor::drawMaskSafe() where mask in hidden editors were drawn.
This commit is contained in:
parent
8a40228ab3
commit
ef0cbf0e94
@ -457,7 +457,9 @@ void Editor::drawMask()
|
||||
|
||||
void Editor::drawMaskSafe()
|
||||
{
|
||||
if (m_document && m_document->getBoundariesSegments()) {
|
||||
if (isVisible() &&
|
||||
m_document &&
|
||||
m_document->getBoundariesSegments()) {
|
||||
int thick = m_cursor_thick;
|
||||
|
||||
JRegion region = jwidget_get_drawable_region(this, JI_GDR_CUTTOPWINDOWS);
|
||||
|
Loading…
Reference in New Issue
Block a user