germanocaumo
0e4f88d4b6
fix(tldraw): zoom inconsistency on some cases
...
Fix some unwanted zooms
2022-10-19 15:13:08 +00:00
germanocaumo
8f41ab31da
fix(tldraw): persist bound shapes (arrows) + fix sending unneeded changes
2022-10-05 20:43:48 +00:00
germanocaumo
2fa76d60c4
Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-shape-updates
2022-10-05 19:56:54 +00:00
germanocaumo
e1ee782294
fix(whiteboard): several zoom fixes
...
Sometimes when whiteboard props change (mainly resizes), the tldraw component gets
mounted again, resetting its camera, and was causing zoom to be applied incorrectly.
I've added a useEffect to better react to when the camera resets and reset to the corret zoom.
2022-09-30 14:35:29 +00:00
germanocaumo
ae7eb92c86
Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-disable-select
2022-09-21 18:10:05 +00:00
Ramón Souza
7d7f26ea55
Merge pull request #15624 from KDSBrowne/bbb-text-updates
...
fix: Restore Text Shape Updates Per Character
2022-09-14 13:06:10 -03:00
Joao Victor
36864a8880
fix(whiteboard toolbar): reduce offset from the bottom
2022-09-07 11:34:54 -03:00
germanocaumo
1db9fdacb1
fix(tldraw): disable selecting shapes on certain cases
...
- For presenter/multiuser Don't allow selecting the background shape (could be done with right click on empty area)
- For viewers: don't allow selecting anything (also hides the selection brush)
2022-09-02 20:59:03 +00:00
germanocaumo
87544a8b38
fix(tldraw): correctly sync draw shape updates +
...
Refactor how shape updates are parsed from tldraw, instead of doing it manually in each action,
uses the tldraw provided list of what changed available in the "onChangePage" callback, simplifying a lot of our code.
2022-09-02 19:26:26 +00:00
KDSBrowne
3277286525
persist patched text changes
2022-08-31 19:01:53 +00:00
Joao Victor
aefc5c6c6a
Merge branch 'v2.6.x-release' into issue-15536
2022-08-31 10:47:58 -03:00
germanocaumo
105ed256c3
fix: tldraw not changing pages correctly
2022-08-29 12:27:17 +00:00
germanocaumo
61cb5b8ef4
fix(tldraw): fit to width / presenter / slide changing
2022-08-23 18:19:17 +00:00
germanocaumo
0e7c27968e
Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync
2022-08-22 18:11:40 +00:00
KDSBrowne
eb7c3dcbc8
update pan tool button after zoom changes
2022-08-22 16:55:44 +00:00
João Victor Nunes
aba9d86904
Merge branch 'v2.6.x-release' into issue-15276
2022-08-22 13:05:25 -03:00
germanocaumo
c948f39392
Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-viewbox-sync
2022-08-22 15:47:51 +00:00
germanocaumo
f209fd17c1
Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync
2022-08-22 15:43:04 +00:00
KDSBrowne
1de4b3f644
update cursor position handling | temp hide eraser animation
2022-08-22 14:37:34 +00:00
Ramón Souza
9303c598c1
Merge pull request #15532 from KDSBrowne/bbb-responsive-wb-toolbar
...
fix: Make Whiteboard Toolbar Responsive to Smaller Sizes
2022-08-22 11:33:46 -03:00
KDSBrowne
9c018ee6db
restore large toolbar size when view enlarged
2022-08-21 21:38:54 +00:00
germanocaumo
7bf8668f23
Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-viewbox-sync
2022-08-18 18:41:27 +00:00
germanocaumo
99549d880f
fix(tldraw): fit-to-width / presenter change view area sync
...
- Correctly sync the viewed area when in fit-to-width mode and when the presenter reloades the page or the presenter changes to another user.
2022-08-18 18:18:02 +00:00
germanocaumo
d4b8bdce7e
fix(tldraw): sync viewed area between presenter/viewers +
...
- Return to the ResizeAndMoveSlide event to do pan&zoom, respecting the viewed width and height ratio
- Defaults zoom in toolbar to 100% like before to be more consistent
- Fit to width and Reset Zoom is back (fit tho width still has some sync problems)
- Fix to not change to first page when presenter reloads page
2022-08-16 12:12:43 +00:00
KDSBrowne
12a324631f
update cursor type when pan enabled
2022-08-15 13:02:56 +00:00
KDSBrowne
26f3e5dc3f
add pan button to presentation toolbar
2022-08-14 22:49:39 +00:00
KDSBrowne
df0fc0da15
make whiteboard toolbar responsive to small screens
2022-08-12 19:08:26 +00:00
Joao Victor
60857a0056
fix(tldraw): hide context menu for users who don't have access to whiteboard
2022-08-11 13:38:17 -03:00
KDSBrowne
3ebfdef9bd
use api toolbar general position | sync current locale
2022-08-08 22:47:51 +00:00
KDSBrowne
48cc57dbaf
move variable definition
2022-08-03 14:30:22 +00:00
KDSBrowne
b66e44a4cb
Upgrade tldraw to latest version
2022-08-03 14:19:12 +00:00
KDSBrowne
a485f372f6
fix console error
2022-07-27 18:46:44 +00:00
KDSBrowne
9234dee077
fix viewer wb crash switching to rtl
2022-07-20 19:54:23 +00:00
KDSBrowne
db41932fe7
update render wb condition | add operator
2022-07-20 19:20:46 +00:00
KDSBrowne
21f2a441ee
update editable whiteboard component key
2022-07-20 19:03:26 +00:00
KDSBrowne
fb63975a7e
fix viewer WB crash when resizing
2022-07-20 18:50:13 +00:00
KDSBrowne
ed55d58b01
handle cursor positions for video focus
2022-07-19 03:37:47 +00:00
Anton Georgiev
1393e4a7de
Merge pull request #15352 from germanocaumo/tldraw-z-f
...
fix(tldraw): initial/viewer zoom fixes + presToolbar height
2022-07-13 09:42:36 -04:00
Anton Georgiev
70c084bfdb
Merge pull request #15300 from JoVictorNunes/fix-focus-loss-Jun-30
...
fix: disable Tldraw autofocus
2022-07-13 09:39:06 -04:00
Anton Georgiev
20762cfac6
Merge pull request #15310 from germanocaumo/tldraw-production-fix
...
fix(tldraw): fix shapes not persisting in production +
2022-07-13 09:36:44 -04:00
germanocaumo
217fd6c06e
fix(tldraw): wrong initial/viewer zoom
...
Fixes a case when the presentation is just uploaded and a wrong initial zoom was set.
Also fix viewer zoom not correclty adjusting to the area size when zoomed out.
2022-07-08 15:06:00 +00:00
germanocaumo
8cacd96a0c
fix(tldraw): fix shapes not persisting in production +
...
Tldraw uses the constructor name for session complete names:
80ed0bf27b/packages/tldraw/src/state/TldrawApp.ts (L2916)
So in production they are changed because of js minifier.
I changed the onCommand reactor to be one generic for all session:complete actions.
Also fixed some crashes with grouping and ungrouping shapes, in those cases the order of adding/removing is important because children have a reference to the father (grouping shape).
2022-07-02 14:16:45 +00:00
KDSBrowne
438afa7db1
fix RTL cursor position
2022-06-30 16:48:42 +00:00
Joao Victor
ddcaa9590f
fix: disable Tldraw autofocus
2022-06-30 13:23:35 -03:00
Ramón Souza
1181b54a55
Merge pull request #15279 from KDSBrowne/2.6-mobile-cursor-fix
...
Fix Cursor Not Updating For Mobile
2022-06-30 14:10:11 +01: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
33e19124c1
disable shape selection for users without multiuser access
2022-06-28 19:16:35 +00:00
KDSBrowne
2d7ef92581
disable hover highlight for background slide image
2022-06-28 14:15:20 +00:00
Ramón Souza
97f6857fd3
Merge pull request #15189 from KDSBrowne/2.6-disable-fd
...
fix: Disable File Drop on Whiteboard
2022-06-20 13:19:34 +01:00