mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 15:32:38 +00:00
Fix blending of rendered text into semi-transparent pixels (#4692)
This commit is contained in:
parent
8fd882d90b
commit
e900f2dfd9
@ -464,13 +464,10 @@ EditorState::LeaveAction WritingTextState::onLeaveState(Editor* editor, EditorSt
|
||||
expand.validateDestCanvas(
|
||||
gfx::Region(extraCel->cel()->bounds()));
|
||||
|
||||
doc::blend_image(
|
||||
expand.getDestCanvas(),
|
||||
expand.getDestCanvas()->copy(
|
||||
extraCel->image(),
|
||||
gfx::Clip(extraCel->cel()->position(),
|
||||
extraCel->image()->bounds()),
|
||||
site.palette(),
|
||||
255, doc::BlendMode::NORMAL);
|
||||
extraCel->image()->bounds()));
|
||||
|
||||
expand.commit();
|
||||
tx.commit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user