浏览代码

fix text bounds issue

/main
fzhangtj 6 年前
当前提交
dcded309
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/ui/painting/canvas_impl.cs

2
Runtime/ui/painting/canvas_impl.cs


var tex = font.material.mainTexture;
Action<Paint> drawMesh = (Paint p) => {
if (!this._applyClip(textBlob.bounds)) {
if (!this._applyClip(matrix.mapRect(textBlob.bounds))) {
return;
}

正在加载...
取消
保存