浏览代码

Merge pull request #379 from UnityTech/text_shadow

Fix text shadow on emoji.
/main
GitHub 5 年前
当前提交
bae09a2f
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 5
      Runtime/ui/renderer/cmdbufferCanvas/rendering/canvas_impl.cs

5
Runtime/ui/renderer/cmdbufferCanvas/rendering/canvas_impl.cs


}
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;
}

正在加载...
取消
保存