Skip to content
Snippets Groups Projects
Commit 0f6c6e8e authored by Richard Alam's avatar Richard Alam
Browse files

- add background and remove intial text

parent bbbe924b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment