diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/WhiteboardCanvasDisplayModel.as b/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/WhiteboardCanvasDisplayModel.as index da20360c6b5dbeb2785db5721b30a54e5792db89..0c0d2216a31e41d957eaaf67d355921192d92a6e 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/WhiteboardCanvasDisplayModel.as +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/WhiteboardCanvasDisplayModel.as @@ -161,6 +161,8 @@ package org.bigbluebutton.modules.whiteboard // tobj.autoSize = TextFieldAutoSize.LEFT; tobj.makeEditable(true); tobj.border = true; + tobj.background = true; + tobj.backgroundColor = 0xFFFFFF; // LogUtil.debug("Putting text object [" + tobj.getGraphicID() + "] in [" + tobj.x + "," + tobj.y + "]"); tobj.registerListeners(textObjGainedFocusListener, textObjLostFocusListener, textObjTextListener, textObjSpecialListener); wbCanvas.addGraphic(tobj); diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/TextDrawListener.as b/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/TextDrawListener.as index e0c028fdb18dd39ee077da758f89f0fa82d2acf0..f81bb4677ec042f46168bf39ab5d6096b65ecfda 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/TextDrawListener.as +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/whiteboard/views/TextDrawListener.as @@ -55,7 +55,7 @@ package org.bigbluebutton.modules.whiteboard.views if (tbHeight < 15 || tbWidth < 50) return; - var tobj:TextObject = _shapeFactory.createTextObject("Type your message here.", 0x000000, 0x000000, false, _mouseXDown, _mouseYDown, tbWidth, tbHeight, 18); + var tobj:TextObject = _shapeFactory.createTextObject("", 0x000000, 0x000000, false, _mouseXDown, _mouseYDown, tbWidth, tbHeight, 18); LogUtil.error("Creating text at [" + mouseX + "," + mouseY + "] norm=[" + tobj.getOrigX() + "," + tobj.getOrigY() + "][" + tobj.textBoxWidth + "," + tobj.textBoxHeight + "]"); sendTextToServer(TextObject.TEXT_CREATED, tobj); }