João Francisco Siebel
b9aff5a6f1
handle empty tool list. close #6171
2018-10-26 11:17:41 -03:00
James Jung
b0a93e5377
Move the placement of undoAnnotation from service.js to draw-listeners
...
Make discardedList be updated on not only the side of the sender but also the side of receiver too
Add logic for preventing the size of discardedList getting bigger unlimitedly
2018-08-23 11:42:34 -04:00
James Jung
3f8a10897a
Initialize a list of discarded annotations, filter out discarded annotations inside AnnotationsStreamer added handler
2018-08-13 15:40:47 -04:00
James Jung
46a382a80a
Separate the logic for discarding the current annotation from each draw listener component to the service of whiteboard
2018-07-26 14:06:16 -04:00
James Jung
204921e043
Make code more readable, and make clicking the mouse right button not to draw annotation
...
Seperate the function 'contextMenuHandler' of drawing listeners into the service for reusability
Call the 'UndoAnnotation' method from Whiteboard-toolbar's service to use inside Whiteboard-overlay's draw listeners,
rather than initializing the same method inside Whiteboard-overlay's service to use
Make drawing annotations using the mouse right button inactive
2018-07-23 17:25:06 -04:00
James Jung
26a5522203
Add fuctionality for discard current annotation via right-click
2018-07-11 13:11:54 -04:00
Oleksandr Zhurbenko
b3061dda91
Adjusted the getTranformedSvgPoint func
2017-11-16 09:51:24 -08:00
Oleksandr Zhurbenko
251bd22738
PR review fixes
2017-09-06 12:36:52 -07:00
Oleksandr Zhurbenko
3014b26439
PR review fixes
2017-09-05 18:36:15 -07:00
Oleksandr Zhurbenko
3c750575cf
Fixed font-size normalization for the text-shape
2017-09-05 15:47:13 -07:00
Oleksandr Zhurbenko
2a91c6aa0b
Fixed a bug initial cursor/shape coordinates on page zooming
2017-08-31 18:42:00 -07:00
Oleksandr Zhurbenko
28f7f8ad11
Minor fixes and adjustments
2017-08-30 16:12:03 -07:00
Oleksandr Zhurbenko
f78283a17d
Fixes
...
Hide wb toolbar when there is no slide; fixed cursor's text clipping; fixed exceptions thrown on 'Clear All' by reactive-annotation container; fixed shapes' thickness scaling on zoom; fixed dimensions' data types sent to akka (it doesn't accept Doubles)
2017-08-29 18:43:55 -07:00
Oleksandr Zhurbenko
321b47abd1
Fixed pencil and text draw listeners for presenters
2017-08-23 20:35:34 -07:00
Oleksandr Zhurbenko
d5f07a574c
Fixed publishShape message for 4 common shapes
...
Line, Rectangle, Triangle, Ellipse
2017-08-18 19:47:31 -07:00
Oleksandr Zhurbenko
9e08cb8567
Refs, PropTypes, fixes
2017-06-07 14:25:47 -07:00
Oleksandr Zhurbenko
cd5cb62949
Generating the shape id above all the draw listeners
2017-05-26 15:06:49 -07:00
Oleksandr Zhurbenko
b5171ae4eb
Fixed a problem with selecting elements while drawing, splitted getTransformedSvgCoordinate so that it could be reused by the text shape
2017-05-26 14:20:55 -07:00
Oleksandr Zhurbenko
967c0bb4fb
Restructuring, improvements
...
Removed unnecessary state, 'out of bounds' check, adjusted the coordinate system for the text shape
2017-05-26 13:06:34 -07:00
Oleksandr Zhurbenko
ff197c3773
Pencil annotation
2017-05-19 16:43:33 -07:00
Oleksandr Zhurbenko
0028b5128d
Plugged in thickness and color to the whiteboard-overlay from the whiteboard-toolbar
2017-05-04 07:33:16 -07:00
Oleksandr Zhurbenko
2c01a6ae5a
Passed the data from the whiteboard-toolbar to the whiteboard-overlay
2017-05-02 17:05:41 -07:00
Oleksandr Zhurbenko
49124c12b1
Replaced the cursor icons in html5 with the new ones
...
Included original svg files for the future reference and creating different cursor icons of different sizes
2017-05-02 13:24:48 -07:00
Oleksandr Zhurbenko
303e6b2edb
Displayed and positioned icons for the whiteboard tools
2017-05-02 09:04:05 -07:00
Oleksandr Zhurbenko
286f077ed3
Added initial drawing functionality for Line/Rectangle/Triangle/Ellipse
2017-05-01 14:34:24 -07:00
Oleksandr Zhurbenko
652dac0cc0
Initial whiteboard overlay component
...
Returns correct coordinates
2017-02-28 10:35:56 -08:00
Oleksandr Zhurbenko
119beae88b
Restructured whiteboard code
2017-02-23 10:20:45 -08:00