Browse Source

Fixes bounds for dot

main
Steve Ruiz 4 years ago
parent
commit
b746601de7
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      utils/shape-utils.ts

+ 4
- 4
utils/shape-utils.ts View File

@@ -25,10 +25,10 @@ const DotUtils: BaseShapeUtils<ShapeType.Dot> = {
25 25
     } = shape
26 26
 
27 27
     return {
28
-      minX: cx - 2,
29
-      maxX: cx + 2,
30
-      minY: cy - 2,
31
-      maxY: cy + 2,
28
+      minX: cx,
29
+      maxX: cx + 4,
30
+      minY: cy,
31
+      maxY: cy + 4,
32 32
       width: 4,
33 33
       height: 4,
34 34
     }

Loading…
Cancel
Save