Skip to content

Commit

Permalink
fix: grid guide padding
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Jun 28, 2023
1 parent c779aaa commit 24859d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grid-guide/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function draw() {
const color = style.getPropertyValue('--r-grid-guide-color')
const extraSections = 1
const padding = sectionSize / 2
const padding = Math.round(cellSize * (sectionCells / 2 - 0.5))
root.width = actualWidth
root.height = actualHeight
Expand Down

0 comments on commit 24859d4

Please sign in to comment.