Skip to content

Commit

Permalink
fix: add px to handle radius, fixes firefox issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrosman committed Jun 5, 2024
1 parent 327b1ec commit a786bab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/composables/tools/useMove/useMove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ export function useMove({
.active-tool-move #${svgId} circle.handle,
.vp-editor #${svgId} circle.handle.is-active {
r: ${handleRadius};
r: ${handleRadius}px;
}
.active-tool-move #${svgId} circle.handle:hover,
.vp-editor #${svgId} circle.handle.is-active:hover {
r: ${handleRadius * 1.5};
r: ${handleRadius * 1.5}px;
}
`
}
Expand Down

0 comments on commit a786bab

Please sign in to comment.