Commit Graph

743 Commits

Author SHA1 Message Date
germanocaumo
a0ef1957c6 fix(pantool): prop type warning 2023-03-10 12:36:54 +00:00
germanocaumo
d09f2681d9 refactor(html5): presentation/whiteboard/cursor code cleanup and linting 2023-03-10 11:30:46 +00:00
Ramón Souza
6970fef004
Merge pull request #16962 from germanocaumo/cursor-fixes
fix(tldraw): cursor fixes
2023-03-10 08:04:31 -03:00
germanocaumo
a3f8147b42 fix(cursor): remove duplicate code 2023-03-09 23:10:18 +00:00
Ramón Souza
9a60bdcd06
Merge pull request #16971 from KDSBrowne/bbb-16959
fix: Stop Tool Lock Being Reset on Updates
2023-03-09 10:47:36 -03:00
KDSBrowne
c6379443cc
update isToolLocked initial value 2023-03-09 08:42:05 -05:00
KDSBrowne
47e7bda1a9 stop tool lock being reset on updates 2023-03-08 20:41:25 +00:00
germanocaumo
8aa15ef861 fix(cursor): send cursor position disabled on unmount
This fixes the cursors staying visible in the recording after the multiuser was disabled.
Also stop sending some unnecessary end events.
2023-03-08 16:39:53 +00:00
Ramón Souza
8ee8a5508f fix whiteboard crash when adding a new presentation 2023-03-08 10:01:18 -03:00
Anton Georgiev
8e640a7918 fix: avoid wb crash when switching presentation 2023-03-07 16:11:40 -05:00
germanocaumo
c1810360ef fix(cursor): improve cursor position for others
Cursor position was desynced after the presenter zoomed with ctrl+scroll, also fixes the last position of the cursor not being sent sometimes.
Move the throttle to the service call so it is considered in all cases (and there was already a throttle there).
2023-03-07 19:03:07 +00:00
hiroshisuga
20325de995
typo 2023-03-07 13:29:00 +09:00
KDSBrowne
95fd2e3d3e fix moving a group of objects | add select cursor 2023-03-05 23:20:56 +00:00
Ramón Souza
50000ad806
Merge pull request #16851 from KDSBrowne/bbb-pan-fixes
fix: Prevent Lines Being Drawn While Panning | Style Updates
2023-03-02 17:05:19 -03:00
Anton Georgiev
932f5ecf71
Merge pull request #16842 from ramonlsouza/issue-16818
fix: Deleting the target object for an arrow crashes the presentation area
2023-03-02 13:25:38 -05:00
hiroshisuga
b181a31b38
add button 2023-03-02 09:39:47 +09:00
hiroshisuga
e62f5f71ed
reactivate the more icon 2023-03-02 00:49:05 +09:00
hiroshisuga
dec7011239
inactive the hidden help icon 2023-03-02 00:09:33 +09:00
KDSBrowne
28a528e085 prevent lines being drawn while panning 2023-03-01 03:32:24 +00:00
KDSBrowne
3c8c9de050 update disable pan label | fix pan deselect on zoom | add pan grabbing cursor 2023-03-01 02:03:33 +00:00
Anton Georgiev
ac91d48a44
Merge pull request #16822 from ramonlsouza/issue-16725
fix: First slide appears on slide transition later on
2023-02-28 13:47:26 -05:00
Ramón Souza
f57c6a0ae9 fix removing arrow target object 2023-02-28 11:36:50 -03:00
Ramón Souza
82c559cba0 fix first slide appearing when switching slides 2023-02-27 13:05:29 -03:00
KDSBrowne
7b5aef8327 remove selectTool call from injector 2023-02-24 23:38:15 +00:00
KDSBrowne
642b2fe2e6 update pan button css 2023-02-24 23:05:14 +00:00
KDSBrowne
d69b535780 fix memory leak | add missing select style 2023-02-24 23:00:15 +00:00
KDSBrowne
811095a913 fix pan tool not deselecting after selecting shapes menu button 2023-02-24 22:51:03 +00:00
KDSBrowne
c171003595 fix unstable_flushDiscreteUpdates error | prevent disabled selection 2023-02-24 17:17:54 +00:00
KDSBrowne
465acd3c87 add missing override styles | prevent selection when disabled 2023-02-24 14:17:51 +00:00
KDSBrowne
d2927c62fb remove unused import 2023-02-23 23:58:27 +00:00
KDSBrowne
044287dc73 clean up value not being used 2023-02-23 23:52:27 +00:00
KDSBrowne
3dc730d5bf inject pan tool into tldraw toolbar 2023-02-23 23:47:34 +00:00
KDSBrowne
23f7b80e35 add forcus ring to items in tldraw styles toolbar 2023-02-14 03:28:36 +00:00
Anton Georgiev
425c6f591d
Merge pull request #16712 from ramonlsouza/throttled-cursor-updates
fix: reduce whiteboard cursor updates
2023-02-13 15:07:04 -05:00
Ramón Souza
0d4e7e80bb reduce unnecessary renders in cursors 2023-02-13 16:41:33 -03:00
Ramón Souza
53a1b02d04 restore throttle in cursor updates 2023-02-13 15:05:49 -03:00
Ramón Souza
320d121254 change cursor when moving shapes 2023-02-10 15:30:24 -03:00
Ramón Souza
225874ad77 adjust whiteboard toolbar in dark mode 2023-02-10 10:37:29 -03:00
Ramón Souza
ee006508cc adjust whiteboard toolbar buttons 2023-02-10 10:05:34 -03:00
Ramón Souza
51781d7419
Merge pull request #16661 from ramonlsouza/issue-15965
fix(whiteboard): cursor in the wrong place if presenter is changed with multi-user whiteboard
2023-02-07 13:24:38 -03:00
Ramón Souza
87d6d0a6c4 clear cursor events when presenter changes 2023-02-07 09:52:24 -03:00
Ramón Souza
5a93e3649f restore missing whiteboard shortcuts 2023-02-06 10:37:34 -03:00
Ramón Souza
5b83c12ffe remove limit in query 2023-02-03 09:49:49 -03:00
Ramón Souza
f610bd472c fix resizing and copying shapes if limit is reached 2023-02-03 09:11:07 -03:00
Ramón Souza
25800ee92b limits the number of annotations per slide 2023-02-02 16:47:16 -03:00
Ramón Souza
4c4487c6fb
Merge pull request #16607 from KDSBrowne/bbb-16602
Add Dependency Array to UseEffect in Cursor Component
2023-02-01 17:26:26 -03:00
Ramón Souza
9ec11ccc31
Merge pull request #16601 from ramonlsouza/issue-16595
fix: Zoom + drag on whiteboard does not move full range
2023-02-01 14:10:56 -03:00
KDSBrowne
0a98abaf7e add key to cursor wrapper container 2023-02-01 01:10:44 +00:00
KDSBrowne
594c2064f7 add dependancy array to useEffect in cursor cmp 2023-01-31 13:32:35 +00:00
Ramón Souza
6a32e03b70 fix pan tool 2023-01-30 13:05:35 -03:00