浏览代码

Fix extra line issues.

/main
Yuncong Zhang 5 年前
当前提交
542b4c5c
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2
      Runtime/Resources/UIWidgets_canvas_strokeAlpha.shader
  2. 6
      Runtime/ui/renderer/common/geometry/path/path_cache.cs

2
Runtime/Resources/UIWidgets_canvas_strokeAlpha.shader


SubShader {
ZTest Always
ZWrite Off
Blend [_SrcBlend] [_DstBlend]
Blend OneMinusDstAlpha One
Stencil {
Ref 128

6
Runtime/ui/renderer/common/geometry/path/path_cache.cs


}
if (path.nstroke > 0) {
strokeIndices.Add(path.nstroke - 1);
strokeIndices.Add(path.nstroke - 2);
strokeIndices.Add(path.istroke + path.nstroke - 1);
strokeIndices.Add(path.istroke + path.nstroke - 2);
strokeIndices.Add(path.nstroke - 1);
strokeIndices.Add(path.istroke + path.nstroke - 1);
strokeIndices.Add(path.istroke);
strokeIndices.Add(path.istroke + 1);
for (var j = 2; j < path.nstroke; j++) {

正在加载...
取消
保存