mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-18 16:21:07 +00:00
Fixed: cursor preview is not shown anymore when animation is being played.
This commit is contained in:
parent
735b65072e
commit
69a50e4d9d
@ -26,6 +26,7 @@
|
||||
#include "modules/editors.h"
|
||||
#include "modules/gui.h"
|
||||
#include "modules/palettes.h"
|
||||
#include "raster/image.h"
|
||||
#include "raster/palette.h"
|
||||
#include "raster/sprite.h"
|
||||
#include "widgets/editor.h"
|
||||
@ -92,9 +93,14 @@ void PlayAnimationCommand::execute(Context* context)
|
||||
|
||||
clear_keybuf();
|
||||
|
||||
/* clear all the screen */
|
||||
// Clear all the screen
|
||||
clear_bitmap(ji_screen);
|
||||
|
||||
// Clear extras (e.g. pen preview)
|
||||
sprite->prepareExtra();
|
||||
image_clear(sprite->getExtras(),
|
||||
sprite->getExtras()->mask_color);
|
||||
|
||||
/* do animation */
|
||||
oldpal = NULL;
|
||||
speed_timer = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user