mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Fixed a problem in gui_feedback() where the CurrentSpriteReader could be locked.
This commit is contained in:
parent
2ed2ce9545
commit
d0514884de
@ -493,8 +493,13 @@ void gui_feedback()
|
||||
if (next_idle_flags & REFRESH_FULL_SCREEN) {
|
||||
next_idle_flags ^= REFRESH_FULL_SCREEN;
|
||||
|
||||
const CurrentSpriteReader sprite(UIContext::instance());
|
||||
update_screen_for_sprite(sprite);
|
||||
try {
|
||||
const CurrentSpriteReader sprite(UIContext::instance());
|
||||
update_screen_for_sprite(sprite);
|
||||
}
|
||||
catch (...) {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
|
||||
/* record file if is necessary */
|
||||
|
Loading…
Reference in New Issue
Block a user