@tuya-miniapp/smart-ui 2.7.1-beta-9 → 2.7.1-beta-10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ export default Render({
58
58
  const ctx = canvas.getContext('2d');
59
59
 
60
60
  const lineWidth = this.lineWidth; // 进度条宽度
61
- const radius = ((this.width - lineWidth) * 0.9) / 2; // 圆形半径
61
+ const radius = ((this.width - lineWidth) * 1) / 2; // 圆形半径
62
62
  const startAngle = Math.PI; // 起始角度(3点钟方向)
63
63
  const endAngle = 4 * Math.PI; // 结束角度(360度)
64
64
 
@@ -113,7 +113,7 @@ export default Render({
113
113
  const ctx = canvas.getContext('2d');
114
114
 
115
115
  const lineWidth = this.lineWidth; // 进度条宽度
116
- const radius = ((this.width - lineWidth) * 0.9) / 2; // 圆形半径
116
+ const radius = ((this.width - lineWidth) * 1) / 2; // 圆形半径
117
117
  const startAngle = 1 * Math.PI; // 起始角度(3点钟方向)
118
118
  const endAngle = 2 * Math.PI; // 结束角度(360度)
119
119
 
@@ -170,7 +170,7 @@ export default Render({
170
170
  const ctx = canvas.getContext('2d');
171
171
 
172
172
  const lineWidth = this.lineWidth; // 进度条宽度
173
- const radius = ((this.width - lineWidth) * 0.9) / 2; // 圆形半径
173
+ const radius = ((this.width - lineWidth) * 1) / 2; // 圆形半径
174
174
 
175
175
  const startAngle = 0.8 * Math.PI; // 起始角度(3点钟方向)
176
176
  const endAngle = 2.2 * Math.PI; // 结束角度(360度)
@@ -58,7 +58,7 @@ export default Render({
58
58
  const ctx = canvas.getContext('2d');
59
59
 
60
60
  const lineWidth = this.lineWidth; // 进度条宽度
61
- const radius = ((this.width - lineWidth) * 0.9) / 2; // 圆形半径
61
+ const radius = ((this.width - lineWidth) * 1) / 2; // 圆形半径
62
62
  const startAngle = Math.PI; // 起始角度(3点钟方向)
63
63
  const endAngle = 4 * Math.PI; // 结束角度(360度)
64
64
 
@@ -113,7 +113,7 @@ export default Render({
113
113
  const ctx = canvas.getContext('2d');
114
114
 
115
115
  const lineWidth = this.lineWidth; // 进度条宽度
116
- const radius = ((this.width - lineWidth) * 0.9) / 2; // 圆形半径
116
+ const radius = ((this.width - lineWidth) * 1) / 2; // 圆形半径
117
117
  const startAngle = 1 * Math.PI; // 起始角度(3点钟方向)
118
118
  const endAngle = 2 * Math.PI; // 结束角度(360度)
119
119
 
@@ -170,7 +170,7 @@ export default Render({
170
170
  const ctx = canvas.getContext('2d');
171
171
 
172
172
  const lineWidth = this.lineWidth; // 进度条宽度
173
- const radius = ((this.width - lineWidth) * 0.9) / 2; // 圆形半径
173
+ const radius = ((this.width - lineWidth) * 1) / 2; // 圆形半径
174
174
 
175
175
  const startAngle = 0.8 * Math.PI; // 起始角度(3点钟方向)
176
176
  const endAngle = 2.2 * Math.PI; // 结束角度(360度)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-miniapp/smart-ui",
3
- "version": "2.7.1-beta-9",
3
+ "version": "2.7.1-beta-10",
4
4
  "author": "MiniApp Team",
5
5
  "license": "MIT",
6
6
  "miniprogram": "lib",