Commit Graph

123 Commits

Author SHA1 Message Date
Arthurk12
420bd8b526 refactor(whiteboard): text tool updates
Makes the whiteboard text tool send annotation updates.
Partially reverts 40b18b0662.
2022-03-29 11:46:47 -03:00
Anton Georgiev
13aba985cb
Merge pull request #10737 from hiroshisuga/fillshape
feat: Fill shape in whiteboard
2021-11-02 15:03:22 -04:00
hiroshisuga
f8e6d9636f
fix bug when a coordinate is zero 2021-06-22 08:30:44 +09:00
hiroshisuga
077941db99
update for palm rejection PR 2021-06-13 22:25:39 +09:00
hiroshisuga
e0a78ffbac
Merge branch 'develop' into fillshape 2021-05-14 20:57:16 +09:00
hiroshisuga
35443a2e29
chore: Typo in palm detection (#12236)
* Typo fix
2021-05-02 08:47:48 -04:00
Anton Georgiev
651d09cbd0
Merge pull request #11224 from sapsDev/palm-rejection-develop-v2.3
Fix unintetionally drawing while using an active pencil
2021-04-15 13:34:01 -04:00
KDSBrowne
3d6c8fc194 fix text-area's not opening iOS virtual keyboard 2021-04-08 02:51:49 +00:00
Jonathan S
fc367b7641 Mouse input isn't affected by palm rejection. 2021-03-19 12:35:30 +00:00
Jonathan S
87a9386f93 Delete text pointer listener. Textfields aren't affected by palm rejection. 2021-03-19 12:35:30 +00:00
Jonathan Schilling
7313916940 Add browser sniffing.
If a browser version can not handle the pointer events, it becomes detected and that browser uses the mouse event etc.
For these browser is no palm rejection provided. All other browser use the pointer events.
2021-03-19 12:35:29 +00:00
Jonathan Schilling
a9e971cd60 Add palm rejection mode to pointer event handler. 2021-03-19 12:35:29 +00:00
Jonathan Schilling
a19451a2c4 Create pointer event handler for pencil, shape and text. 2021-03-19 12:35:29 +00:00
KDSBrowne
d2c36c1c94 update handleClick condition (fix text-area for FireFox) 2021-02-24 02:05:23 +00:00
Ramon Souza
672bd3f318 Merge branch 'PR-10217' into develop 2021-02-10 17:55:32 -03:00
Anton Georgiev
09e6ba8dfd Merge branch 'v2.2.x-release' of github.com:bigbluebutton/bigbluebutton into merge-Jan30 2021-01-29 20:58:05 +00:00
KDSBrowne
47e2f12b74 prevent open textarea blocking dropdown menus 2021-01-26 17:13:18 -05:00
Tainan Felipe
3aa8e115b5
Merge branch 'develop' into unsafe-whiteboard-components 2021-01-25 17:36:12 -03:00
KDSBrowne
a76b740ffe prevent open textarea blocking dropdown menus 2021-01-22 21:42:45 +00:00
Joao Siebel
fa0fd8a054 Add configurable process interval for cursor and annotations 2021-01-20 11:36:40 -03:00
hiroshisuga
06ef73b48a
fill property not always required 2020-12-24 21:06:45 +09:00
hiroshisuga
2f29d303f1
Bug fixed 2020-12-24 12:38:10 +09:00
Anton Georgiev
f34826718d include instanceId in resources url 2020-11-30 16:09:35 +00:00
hiroshisuga
0203d73061
Update component.jsx 2020-10-28 15:17:47 +09:00
hiroshisuga
70f398b0af
Update component.jsx 2020-10-28 15:09:23 +09:00
hiroshisuga
9efdb6777e
Update component.jsx 2020-10-28 14:57:45 +09:00
hiroshisuga
efa94b222e
Update component.jsx 2020-10-28 14:40:54 +09:00
Anton Georgiev
0c7ead1916 Merge branch 'v2.2.x-release' of github.com:bigbluebutton/bigbluebutton into oct16-merge 2020-10-21 14:48:02 +00:00
KDSBrowne
9827664efc fix textArea width / height sent from client 2020-10-09 14:20:22 +00:00
Pedro Beschorner Marin
6b87491796 Check if DOMMatrix exists before cursor coordinate transform
Cursor coordinates are calculated using the presentation SVG object
DOMMatrix. When getting this matrix, some browsers (Firefox at least)
responds it as null if the svg object does not have a visible area.

This adds a check before trying to transform the cursor coordinates
using the matrix inverse so we avoid calling a method from a null object.
If there isn't a DOMMatrix to be used as reference, returns a simple out of
bounds SVGPoint (-1, -1)
2020-10-07 15:07:23 -03:00
Tainan Felipe
bd6471b664 Remove unsafe lifecycle from all whiteboard related components 2020-08-07 17:21:28 -03:00
Anton Georgiev
21b6def708
Revert "Replace unsafe react lifecycle methods" 2020-07-15 15:52:34 -04:00
Tainan Felipe
5b758a7cb9 Replace legacy react lifecycle on text draw listener 2020-05-11 11:36:18 -03:00
Chad Pilkey
40b18b0662 whiteboard performance improvements 2020-04-08 20:03:56 +00:00
Tainan Felipe
4503e70051 Remove consoles 2020-01-24 16:44:47 -03:00
Tainan Felipe
d73b28eb06 Workaround to CTM request in svg of the screen 2020-01-23 14:52:16 -03:00
Chad Pilkey
37b5286d3b throttle the pencil updates and increase cursor throttle 2019-10-24 15:25:50 -07:00
Joao Siebel
4278b2b061 Add again handleMouseLeave function 2019-08-15 15:08:03 -03:00
Joao Siebel
ae87fe7e9d Remove handleMouseLeave function 2019-08-15 13:34:23 -03:00
Joao Siebel
5bedda90cb Remove unnecessary bind and revert the call of handleMouseLeave 2019-08-15 10:19:44 -03:00
Joao Siebel
632805c627 Prevent draw blocking buttons on tablets and mobile
close issue #7904
2019-08-14 17:28:27 -03:00
Chad Pilkey
e69931a0af Merge remote-tracking branch 'upstream/master' into fix-pan-lag 2019-07-25 16:29:52 -07:00
Chad Pilkey
c344a17adb pan/zoom and cursor refactor for better performance 2019-07-25 15:55:25 -07:00
KDSBrowne
7cc2f551b6 add parentheses to equation 2019-07-04 17:58:38 +00:00
KDSBrowne
2d3f43edf9 use calculation to find max z-index 2019-07-04 17:54:20 +00:00
KDSBrowne
2bf92f921b move comment 2019-07-04 17:48:13 +00:00
KDSBrowne
cd9e89ca88 fix Cannot read property 'focus' of null / lint issues 2019-07-04 17:35:32 +00:00
Ghazi Triki
b1e6cff44e Improve CDN CORS rules. 2019-03-29 18:33:23 +01:00
Ghazi Triki
5b87524520 Use the embedded meteor CDN feature. 2019-03-29 16:47:07 +01:00
Ghazi Triki
106058e1dd Support loading the HTML5 main JS file and its assets from a CDN. 2019-03-18 09:57:43 +01:00