角度变化
This commit is contained in:
@@ -672,20 +672,20 @@ export default {
|
||||
if (this.nowPass !== {}) {
|
||||
let nowPass = this.nowPass
|
||||
|
||||
let temp = nowPass.step % 8
|
||||
const angleMap = {
|
||||
0: 45,
|
||||
1: 0,
|
||||
2: 270,
|
||||
3: 315,
|
||||
4: 225,
|
||||
5: 180,
|
||||
6: 90,
|
||||
7: 135,
|
||||
8: 45,
|
||||
};
|
||||
this.circleStart = angleMap[temp];
|
||||
}
|
||||
let temp = nowPass.step % 8
|
||||
const angleMap = {
|
||||
0: 45,
|
||||
1: 0,
|
||||
2: 270,
|
||||
3: 315,
|
||||
4: 225,
|
||||
5: 180,
|
||||
6: 90,
|
||||
7: 135,
|
||||
8: 45,
|
||||
};
|
||||
this.circleStart = angleMap[temp];
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user