Commit Graph

58 Commits

Author SHA1 Message Date
KDSBrowne
82c946233f
Update bigbluebutton-html5/imports/ui/components/whiteboard/cursors/component.jsx
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2023-04-20 16:14:42 -04:00
KDSBrowne
8ee76b6b3e restore chat text selection | disable loupe in ipad while writing on canvas 2023-04-20 18:13:45 +00:00
KDSBrowne
3a6fde4fd0 disable toolbar autohide animations based on app settings 2023-04-14 15:27:37 +00:00
KDSBrowne
72adc96dbe add autohide option for whitboard toolbars 2023-03-26 22:08:09 +00:00
KDSBrowne
e577d0a8f7 remove disabled from pan tool 2023-03-11 17:11:48 +00:00
KDSBrowne
8eba308f36 add crosshair cursor for arrow and eraser tool 2023-03-11 16:09:30 +00:00
germanocaumo
d09f2681d9 refactor(html5): presentation/whiteboard/cursor code cleanup and linting 2023-03-10 11:30:46 +00:00
germanocaumo
a3f8147b42 fix(cursor): remove duplicate code 2023-03-09 23:10:18 +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
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
KDSBrowne
95fd2e3d3e fix moving a group of objects | add select cursor 2023-03-05 23:20:56 +00: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
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
87d6d0a6c4 clear cursor events when presenter changes 2023-02-07 09:52:24 -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
Joao Victor
14d529ead9 fix(tldraw): show tool cursors 2023-01-11 16:32:03 -03:00
KDSBrowne
e633896a8a restore eraser animation 2022-12-30 20:09:49 +00:00
KDSBrowne
2456edb434 update getSibling to return the correct panel element for calc | lint issues 2022-11-04 19:29:30 +00:00
Joao Victor
3e7478a73a fix(whiteboard): take notification bar and banner bar into account when calculating cursor offset 2022-11-03 14:33:15 -03:00
germanocaumo
38725cff7f fix(tldraw): update tldraw to latest version +
Small refactor in Cursor component, fix same key warning in console.
2022-10-31 17:07:03 +00:00
germanocaumo
fdd09c578f fix(whiteboard): don't render out of slide cursors
Don't draw cursors with disabled position (-1,-1)
2022-10-19 15:09:13 +00:00
germanocaumo
fea31e366c refactor: code smell 2022-09-22 10:06:23 +00:00
germanocaumo
01a1cf83d7 fix(cursor): correctly hide cursor for others on mouse leave
Also update out of bounds coords to -1.0 to not display on playback.
2022-09-21 20:49:07 +00:00
Bohdan Zhemelinskyi
811d135585 handle missing cursor property case 2022-09-14 19:42:15 +00:00
KDSBrowne
c758664651 remove toolbar from non presenter cursor calculation 2022-08-24 11:55:31 +00:00
KDSBrowne
9f7b45b172 hide eraser animation on mobile 2022-08-23 12:08:31 +00:00
KDSBrowne
9df18af50f update presentation offset for cursor (mobile) 2022-08-22 19:05:02 +00:00
KDSBrowne
eb7c3dcbc8 update pan tool button after zoom changes 2022-08-22 16:55:44 +00:00
KDSBrowne
1de4b3f644 update cursor position handling | temp hide eraser animation 2022-08-22 14:37:34 +00:00
KDSBrowne
9d8ce2215d remove key prop 2022-07-20 18:51:50 +00:00
KDSBrowne
fb63975a7e fix viewer WB crash when resizing 2022-07-20 18:50:13 +00:00
KDSBrowne
100bfcfb86 update fullscreen element check 2022-07-19 10:51:59 +00:00
KDSBrowne
ed55d58b01 handle cursor positions for video focus 2022-07-19 03:37:47 +00:00
KDSBrowne
47303757de handle cursor position for fullscreen presentation 2022-07-19 01:23:10 +00:00
Ramón Souza
1b03b1fd50
Merge pull request #15301 from KDSBrowne/z-26-rtl-cursor
Fix RTL Cursor Position on Whiteboard
2022-07-06 21:40:19 +01:00
KDSBrowne
046518abe5 handle cursor positions for smart layout 2022-07-06 20:03:04 +00:00
KDSBrowne
42acca2124 handle cursor position for all custom layout orientations 2022-07-06 17:17:05 +00:00
KDSBrowne
b075cf822b fix delay minimizing presentation | display default cursor for no MUA 2022-07-05 20:16:55 +00:00
KDSBrowne
438afa7db1 fix RTL cursor position 2022-06-30 16:48:42 +00:00
germanocaumo
c2db91b5f9 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-recording 2022-06-30 14:31:08 +00:00
KDSBrowne
bf62362162 only render cursor label when mutiuser enabled 2022-06-29 20:27:14 +00:00
KDSBrowne
c702cc34a4 remove cursors from wb when multiuser is disabled 2022-06-28 20:13:05 +00:00
KDSBrowne
ee6a3dcc62 fix cursor not updating on mobile 2022-06-28 14:25:43 +00:00
germanocaumo
853d0dfd9b fix(whiteboard): tldraw recording processing/publishing
Changed the names of tldraw record events to differentiate from before.
Publish tldraw.json file with all shape information during the meeting to be used in playback.
Adapted cursor.xml and panzoom.xml to store tldraw data.
Publish slides svgs to be used by playback's tldraw component (otherwise we have different image sizes in pngs and thus messing the coordinates).
Retro-compatible with old recordings.
2022-06-23 17:04:09 +00:00
KDSBrowne
6d4d11a34d fix cursors lock for viewers 2022-06-02 15:00:28 +00:00