diff --git a/bigbluebutton-html5/app/client/whiteboard_models/whiteboard_paper.coffee b/bigbluebutton-html5/app/client/whiteboard_models/whiteboard_paper.coffee index 2555d0561de503d7a5e63c2f51e54ceaf0bccdba..74c6f91cd27f9ace6a5e82a0fe8f2ca33e825198 100755 --- a/bigbluebutton-html5/app/client/whiteboard_models/whiteboard_paper.coffee +++ b/bigbluebutton-html5/app/client/whiteboard_models/whiteboard_paper.coffee @@ -111,7 +111,10 @@ class Meteor.WhiteboardPaperModel @_updateContainerDimensions() @_updateZoomRatios() - @cursor.setRadius(6 * @widthRatio / 100) + if @raphaelObj.w is 100 + @cursor.setRadius(0.65 * @widthRatio / 100) + else + @cursor.setRadius(6 * @widthRatio / 100) img @@ -158,8 +161,12 @@ class Meteor.WhiteboardPaperModel @cursor?.remove() createCursor: -> - @cursor = new WhiteboardCursorModel(@raphaelObj) - @cursor.setRadius(6 * @widthRatio / 100) + if @raphaelObj.w is 100 + @cursor = new WhiteboardCursorModel(@raphaelObj, 0.65) + @cursor.setRadius(0.65 * @widthRatio / 100) + else + @cursor = new WhiteboardCursorModel(@raphaelObj) + @cursor.setRadius(6 * @widthRatio / 100) @cursor.draw() # Updated a shape `shape` with the data in `data`. @@ -328,7 +335,10 @@ class Meteor.WhiteboardPaperModel _this?.current?.shapes?.forEach (shape) -> shape.attr "stroke-width", shape.attr('stroke-width') * oldRatio / newRatio - _this.cursor.setRadius(6 * newDoc.slide.width_ratio / 100) + if _this.raphaelObj is 100 + _this.cursor.setRadius(0.65 * newDoc.slide.width_ratio / 100) + else + _this.cursor.setRadius(6 * newDoc.slide.width_ratio / 100) if originalWidth <= originalHeight # square => boardHeight is the shortest side