1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
excalidraw/src
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
..
actions fix: remove invisible elements safely (#7083) 2023-10-04 16:09:59 +02:00
assets feat: redesign of Live Collaboration dialog (#6635) 2023-05-31 18:27:29 +02:00
components feat: initial Laser Pointer MVP (#6739) 2023-10-05 17:05:16 +02:00
context feat: overwrite confirmation dialogs (#6658) 2023-06-19 17:08:12 +02:00
css fix: improperly disabling UI pointer-events on canvas interaction (#7005) 2023-09-19 16:01:40 +02:00
data feat: initial Laser Pointer MVP (#6739) 2023-10-05 17:05:16 +02:00
element feat: initial Laser Pointer MVP (#6739) 2023-10-05 17:05:16 +02:00
hooks fix: more eye-droper fixes (#7019) 2023-09-21 09:54:03 +05:30
locales feat: initial Laser Pointer MVP (#6739) 2023-10-05 17:05:16 +02:00
packages feat: support menu / dropdown items to have selected state (#7078) 2023-10-03 23:35:47 +02:00
renderer feat: element alignments - snapping (#6256) 2023-09-28 16:28:08 +02:00
scene feat: element alignments - snapping (#6256) 2023-09-28 16:28:08 +02:00
tests refactor: DRY out and simplify setting active tool from toolbar (#7079) 2023-10-04 00:16:54 +02:00
align.ts feat: introduce frames (#6123) 2023-06-14 18:42:01 +02:00
analytics.ts build: migrate to Vite 🚀 (#6818) 2023-07-27 23:50:11 +05:30
appState.ts feat: element alignments - snapping (#6256) 2023-09-28 16:28:08 +02:00
bug-issue-template.js Add sentry integration (#1141) 2020-03-31 11:37:51 +03:00
charts.test.ts fix: Chart display fix (#5154) 2022-05-07 19:12:31 +02:00
charts.ts build: migrate to Vite 🚀 (#6818) 2023-07-27 23:50:11 +05:30
clients.ts feat: redesigned collab cursors (#6659) 2023-06-12 15:43:14 +02:00
clipboard.test.ts fix: Correctly paste contents parsed by JSON.parse() as text. (#5868) 2022-11-14 14:02:54 +05:30
clipboard.ts feat: support creating containers, linear elements, text containers, labelled arrows and arrow bindings programatically (#6546) 2023-08-09 16:41:15 +05:30
colors.ts feat: introducing Web-Embeds (alias iframe element) (#6691) 2023-07-24 16:51:53 +02:00
constants.ts fix: improperly disabling UI pointer-events on canvas interaction (#7005) 2023-09-19 16:01:40 +02:00
css.d.ts Fix padding in the library loading buttons (#2331) 2020-11-04 11:05:12 +01:00
distribute.ts feat: support adding multiple library items on canvas (#5116) 2022-05-11 15:51:02 +02:00
errors.ts fix: abstract and fix legacy fs (#4032) 2021-10-07 13:19:40 +02:00
frame.test.tsx fix: elements being dropped/duplicated when added to frame (#7057) 2023-09-29 15:40:14 +02:00
frame.ts fix: elements being dropped/duplicated when added to frame (#7057) 2023-09-29 15:40:14 +02:00
ga.ts chore: fix various typos (#4857) 2022-03-02 11:37:12 +05:30
gadirections.ts Prefer arrow functions (#2344) 2020-11-06 21:06:39 +01:00
galines.ts chore: fix various typos (#4857) 2022-03-02 11:37:12 +05:30
gapoints.ts Prefer arrow functions (#2344) 2020-11-06 21:06:39 +01:00
gatransforms.ts Prefer arrow functions (#2344) 2020-11-06 21:06:39 +01:00
gesture.ts fix: stop flooring scroll positions (#2883) 2021-01-31 10:47:43 +01:00
global.d.ts build: migrate to Vite 🚀 (#6818) 2023-07-27 23:50:11 +05:30
groups.ts fix: stabilize selectedElementIds when box selecting (#6912) 2023-08-18 16:14:57 +02:00
history.ts fix: move utility types out of .d.ts file to fix exported declaration files (#6315) 2023-03-04 19:21:57 +01:00
i18n.ts build: migrate to Vite 🚀 (#6818) 2023-07-27 23:50:11 +05:30
index-node.ts feat: image support (#4011) 2021-10-21 22:05:48 +02:00
index.tsx refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
jotai.ts fix: rerender i18n in host components on lang change (#6224) 2023-02-22 14:01:23 +00:00
keys.ts feat: element alignments - snapping (#6256) 2023-09-28 16:28:08 +02:00
math.test.ts feat: element alignments - snapping (#6256) 2023-09-28 16:28:08 +02:00
math.ts feat: element alignments - snapping (#6256) 2023-09-28 16:28:08 +02:00
points.ts feat: Support labels for arrow 🔥 (#5723) 2022-12-05 21:03:13 +05:30
polyfill.ts fix: polyfill Element.replaceChildren (#7034) 2023-09-24 19:07:35 +02:00
pwacompat.d.ts Add PWACompat (#1433) 2020-04-16 14:23:39 +02:00
random.ts fix: check if process is defined before using so it works in browser (#4497) 2021-12-28 17:17:41 +05:30
react-app-env.d.ts TS, Prettier, Eslint (#39) 2020-01-02 11:03:48 -08:00
setupTests.ts build: migrate to Vite 🚀 (#6818) 2023-07-27 23:50:11 +05:30
shapes.tsx feat: introduce frames (#6123) 2023-06-14 18:42:01 +02:00
snapping.ts feat: element alignments - snapping (#6256) 2023-09-28 16:28:08 +02:00
types.ts feat: initial Laser Pointer MVP (#6739) 2023-10-05 17:05:16 +02:00
utility-types.ts refactor: add typeScript support to enforce valid translation keys (#6776) 2023-07-20 18:15:32 +02:00
utils.ts refactor: DRY out tool typing (#7086) 2023-10-04 23:39:00 +02:00
vite-env.d.ts fix: export to plus url (#6980) 2023-09-11 21:13:16 +00:00
zindex.ts refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30