mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: stop preventing canvas pointerdown/tapend events (#3207)
This commit is contained in:
parent
edc62c550a
commit
e90e56452f
4 changed files with 36 additions and 26 deletions
|
@ -17,6 +17,13 @@
|
|||
left: 0;
|
||||
right: 0;
|
||||
|
||||
// serves 2 purposes:
|
||||
// 1. prevent selecting text outside the component when double-clicking or
|
||||
// dragging inside it (e.g. on canvas)
|
||||
// 2. prevent selecting UI, both from the inside, and from outside the
|
||||
// component (e.g. if you select text in a sidebar)
|
||||
user-select: none;
|
||||
|
||||
a {
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
|
@ -29,7 +36,6 @@
|
|||
|
||||
canvas {
|
||||
touch-action: none;
|
||||
user-select: none;
|
||||
|
||||
// following props improve blurriness at certain devicePixelRatios.
|
||||
// AFAIK it doesn't affect export (in fact, export seems sharp either way).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue