Fix Insert Text to use the sprite transparent color in indexed mode (fix #2444)

This commit is contained in:
David Capello 2020-06-16 21:24:32 -03:00
parent 52137324b4
commit 89a896d627

View File

@ -189,7 +189,8 @@ void PasteTextCommand::onExecute(Context* ctx)
image.get(), NULL, sprite->pixelFormat(),
render::Dithering(),
rgbmap, sprite->palette(editor->frame()),
false, 0));
false,
sprite->transparentColor()));
}
// TODO we don't support pasting text in multiple cels at the