浏览代码

fix aa shapehint bug when shapeHint doesn't update when rrect -> non-rrect changed

/main
xingwei.zhu 5 年前
当前提交
2abc59eb
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 6
      Runtime/ui/renderer/common/geometry/path/path.cs

6
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() {

正在加载...
取消
保存