Fix problems in the Editor::flashCurrentLayer() drawing outside the safe editor area.

This commit is contained in:
David Capello 2012-02-11 22:32:32 -03:00
parent d5cfddd820
commit fe03919b1d

View File

@ -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();
vsync();
rest(100);
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);
}
}