1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
excalidraw/excalidraw-app
Are 2e61926a6b
feat: initial Laser Pointer MVP (#6739)
* feat: initial Laser pointer mvp

* feat: add laser-pointer package and integrate it with collab

* chore: fix yarn.lock

* feat: update laser-pointer package, prevent panning from showing

* feat: add laser pointer tool button when collaborating, migrate to official package

* feat: reduce laser tool button size

* update icon

* fix icon & rotate

* fix: lock zoom level

* fix icon

* add `selected` state, simplify and reduce api

* set up pointer callbacks in viewMode if laser tool active

* highlight extra-tools button if one of the nested tools active

* add shortcut to laser pointer

* feat: don't update paths if nothing changed

* ensure we reset flag if no rAF scheduled

* move `lastUpdate` to instance to optimize

* return early

* factor out into constants and add doc

* skip iteration instead of exit

* fix naming

* feat: remove testing variable on window

* destroy on editor unmount

* fix incorrectly resetting `lastUpdate` in `stop()`

---------

Co-authored-by: dwelle <luzar.david@gmail.com>
2023-10-05 17:05:16 +02:00
..
collab refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
components refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
data feat: initial Laser Pointer MVP (#6739) 2023-10-05 17:05:16 +02:00
tests refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
app_constants.ts refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
app-jotai.ts refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
CustomStats.tsx refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
debug.ts refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
index.scss refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
index.tsx refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
sentry.ts refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30