fix:修改渐变方向判断的逻辑

This commit is contained in:
zhangyu
2021-03-02 16:37:16 +08:00
parent b51d6444f1
commit df4895c9af
2 changed files with 4 additions and 7 deletions

View File

@@ -1388,9 +1388,11 @@
if(val===1 || val===3){
this.selection.pen.bkType=1;
this.selection.pen.gradientAngle=0;
}
if(val===2 || val===4){
this.selection.pen.bkType=2;
this.selection.pen.bkType=1;
this.selection.pen.gradientAngle=90;
}
if(val===1 || val===2){