mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 00:23:35 +00:00
Fix problems in the Editor::flashCurrentLayer() drawing outside the safe editor area.
This commit is contained in:
parent
d5cfddd820
commit
fe03919b1d
@ -673,14 +673,11 @@ void Editor::flashCurrentLayer()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
drawSprite(0, 0, m_sprite->getWidth()-1, m_sprite->getHeight()-1);
|
drawSpriteSafe(0, 0, m_sprite->getWidth()-1, m_sprite->getHeight()-1);
|
||||||
gui_flip_screen();
|
gui_flip_screen();
|
||||||
|
|
||||||
vsync();
|
|
||||||
rest(100);
|
|
||||||
|
|
||||||
image_clear(flash_image, flash_image->mask_color);
|
image_clear(flash_image, flash_image->mask_color);
|
||||||
drawSprite(0, 0, m_sprite->getWidth()-1, m_sprite->getHeight()-1);
|
drawSpriteSafe(0, 0, m_sprite->getWidth()-1, m_sprite->getHeight()-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user