浏览代码

Merge pull request #381 from UnityTech/fix_aa_shapehintbug

Fix aa shapehintbug
/main
GitHub 5 年前
当前提交
62c3bd39
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 8
      Runtime/ui/renderer/common/geometry/path/path.cs

8
Runtime/ui/renderer/common/geometry/path/path.cs


return;
}
this._isNaiveRRect = isNaiveRRect && this._hasOnlyMoveTos();
if (this._isNaiveRRect) {
this._shapeHint = shapeHint;
this._rRectCorner = corner;
}
this._shapeHint = shapeHint;
this._rRectCorner = corner;
}
bool _hasOnlyMoveTos() {

this.needCache = false;
this.pathKey = 0;
this._isNaiveRRect = false;
this._shapeHint = uiPathShapeHint.Other;
this._rRectCorner = 0;
}
void _reset() {

正在加载...
取消
保存