Skip to content

Commit

Permalink
fix: set user-select on whole svg. fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrosman committed Jun 2, 2024
1 parent 0fe38af commit c61e318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/tools/useTextarea/useTextarea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export function useTextarea({
+ `
.vp-image {
font-size: ${baseFontSize}px;
user-select: none;
}
.textarea {
Expand All @@ -146,7 +147,6 @@ export function useTextarea({
background: transparent;
resize: none;
touch-action: none;
user-select: none;
overflow: hidden;
font-family: "${font}", Arial, sans-serif;
padding: 1px;
Expand Down

0 comments on commit c61e318

Please sign in to comment.