Skip to content

Commit

Permalink
change: Adjust dash in default selection icon
Browse files Browse the repository at this point in the history
  • Loading branch information
personalizedrefrigerator committed Jan 19, 2025
1 parent a91c189 commit bbc19d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/js-draw/src/toolbar/IconProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ export default class IconProvider {
if (mode === SelectionMode.Rectangle) {
icon.innerHTML = `
<g>
<rect x="10" y="10" width="70" height="70" fill="pink" stroke="black" stroke-dasharray="4"/>
<rect x="10" y="10" width="70" height="70" fill="pink" stroke="black" stroke-dasharray="32 9"/>
<rect x="75" y="75" width="10" height="10" fill="white" stroke="black"/>
</g>
`;
} else {
icon.innerHTML = `
<g>
<rect x="10" y="10" width="76" height="76" rx="50" stroke-dasharray="4" fill="pink" stroke="black"/>
<rect x="10" y="10" width="76" height="76" rx="50" stroke-dasharray="32 9" fill="pink" stroke="black"/>
<rect x="71" y="71" width="10" height="10" fill="white" stroke="black"/>
</g>
`;
Expand Down

0 comments on commit bbc19d9

Please sign in to comment.