change whiteboard

This commit is contained in:
XWiki SAS 2017-06-13 14:11:22 +02:00
parent 49370764c1
commit 40cf7ea107

View File

@ -99,9 +99,7 @@ window.canvas = canvas;
canvas.freeDrawingBrush.width = Number(val); canvas.freeDrawingBrush.width = Number(val);
$widthLabel.text(val) $widthLabel.text(val)
$widthLabel.text(Cryptpad.Messages._getKey("canvas_widthLabel", [val])) $widthLabel.text(Cryptpad.Messages._getKey("canvas_widthLabel", [val]))
$widthLabel.text("width: " + $width.val())
createCursor(); createCursor();
console.log("change size")
}; };
updateBrushWidth(); updateBrushWidth();
@ -114,8 +112,6 @@ window.canvas = canvas;
$opacityLabel.text(val) $opacityLabel.text(val)
$opacityLabel.text(Cryptpad.Messages._getKey("canvas_opacityLabel", [val])); $opacityLabel.text(Cryptpad.Messages._getKey("canvas_opacityLabel", [val]));
createCursor(); createCursor();
console.log("change opacity")
console.log("opacity: " + $opacity.val())
}; };
updateBrushOpacity(); updateBrushOpacity();