diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/component.jsx index 7469bfdc640ae8439e4fa2e16a9a7a5d3adfb691..bde57ed78c47ea8319cf9b6ac24894865469c443 100755 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/component.jsx @@ -9,7 +9,10 @@ export default class WhiteboardOverlay extends Component { // a function to transform a screen point to svg point // accepts and returns a point of type SvgPoint and an svg object static coordinateTransform(screenPoint, someSvgObject) { + console.log('screenPoint', screenPoint, 'someSvgObject', someSvgObject); const CTM = someSvgObject.getScreenCTM(); + console.log('CTM', CTM); + if (!CTM) return {}; return screenPoint.matrixTransform(CTM.inverse()); }