Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Fix text shadow on emoji. #379

Merged
merged 1 commit into from
Nov 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Runtime/ui/renderer/cmdbufferCanvas/rendering/canvas_impl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,9 @@ void _drawTextBlob(TextBlob? textBlob, uiOffset offset, uiPaint paint) {
}

if (paint.maskFilter != null && paint.maskFilter.Value.sigma != 0) {
this._drawWithMaskFilter(textBlobBounds, paint, paint.maskFilter.Value, null, null, false, 0, 0, tex,
textBlobBounds, mesh, notEmoji, this.___drawTextDrawMeshCallback);
this._drawWithMaskFilter(textBlobBounds, paint, paint.maskFilter.Value, null, null, false, 0, 0,
notEmoji ? tex : EmojiUtils.image.texture,
textBlobBounds, mesh, true, this.___drawTextDrawMeshCallback);
return;
}

Expand Down