change whiteboard
This commit is contained in:
parent
49370764c1
commit
40cf7ea107
@ -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();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user