zsviczian 34daf09b4a
merge master changes (#7105)
* refactor: DRY out tool typing (#7086)

* feat: Export `iconFillColor()` (#6996)

* 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>

* fix: ensure we do not stop laser update prematurely (#7100)

---------

Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: DanielJGeiger <1852529+DanielJGeiger@users.noreply.github.com>
Co-authored-by: Are <artur@excalidraw.com>
2023-10-06 14:25:20 +02:00
..
2023-10-06 14:25:20 +02:00
2023-10-06 14:25:20 +02:00
2023-10-06 14:25:20 +02:00
2023-09-21 09:54:03 +05:30
2023-10-06 14:25:20 +02:00
2023-06-14 18:42:01 +02:00
2023-07-27 23:50:11 +05:30
2022-05-07 19:12:31 +02:00
2023-07-27 23:50:11 +05:30
2022-03-02 11:37:12 +05:30
2020-11-06 21:06:39 +01:00
2022-03-02 11:37:12 +05:30
2020-11-06 21:06:39 +01:00
2020-11-06 21:06:39 +01:00
2023-07-27 23:50:11 +05:30
2023-07-27 23:50:11 +05:30
2021-10-21 22:05:48 +02:00
2022-12-05 21:03:13 +05:30
2020-04-16 14:23:39 +02:00
2020-01-02 11:03:48 -08:00
2023-07-27 23:50:11 +05:30
2023-06-14 18:42:01 +02:00
2023-10-06 14:25:20 +02:00
2023-10-06 14:25:20 +02:00
2023-09-11 21:13:16 +00:00