Fix comments
This commit is contained in:
parent
bc953b1185
commit
621fe55ea9
@ -291,7 +291,7 @@ CanvasLayer.prototype.setPaneName = function(paneName) {
|
|||||||
* Set the opacity for the canvas.
|
* Set the opacity for the canvas.
|
||||||
*
|
*
|
||||||
* @param {number} opacity The opacity of the canvas
|
* @param {number} opacity The opacity of the canvas
|
||||||
* /
|
*/
|
||||||
CanvasLayer.prototype.setOpacity = function (opacity) {
|
CanvasLayer.prototype.setOpacity = function (opacity) {
|
||||||
this.canvas.style.opacity = opacity;
|
this.canvas.style.opacity = opacity;
|
||||||
};
|
};
|
||||||
@ -300,7 +300,7 @@ CanvasLayer.prototype.setOpacity = function (opacity) {
|
|||||||
* Get the canvases opacity.
|
* Get the canvases opacity.
|
||||||
*
|
*
|
||||||
* @return {number} The opacity of the canvas
|
* @return {number} The opacity of the canvas
|
||||||
* /
|
*/
|
||||||
CanvasLayer.prototype.getOpacity = function () {
|
CanvasLayer.prototype.getOpacity = function () {
|
||||||
return this.canvas.style.opacity;
|
return this.canvas.style.opacity;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user