hayun-vite 0.6.0 → 0.6.1

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hayun-vite",
3
3
  "private": false,
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -10,6 +10,7 @@ export default class Reflex {
10
10
  }
11
11
 
12
12
  draw({ dims }) {
13
+
13
14
  let width = dims.width;
14
15
  let height = dims.height;
15
16
  let x = dims.margin.left;
@@ -71,8 +72,8 @@ export default class Reflex {
71
72
  for (let i = 1; i <= 4; i++) {
72
73
  let x = cw1 / 2 + cw1 * i;
73
74
  let y = ch1 * j + ch2 / 2;
74
- let bw = cw1 * 0.80; // پهنای هر باکس
75
- let bh = ch2 * 0.80; // ارتفاع هر باکس
75
+ let bw = cw1 * 0.8; // پهنای هر باکس
76
+ let bh = ch2 * 0.7; // ارتفاع هر باکس
76
77
  //رسم باکس با مختصات مرکز باکس
77
78
  putBox(x, y, bw, bh);
78
79
  }