--- a/client/js/renderer/baseeditor.js Thu Sep 10 01:02:19 2015 +0200
+++ b/client/js/renderer/baseeditor.js Fri Sep 11 16:33:18 2015 +0200
@@ -17,14 +17,14 @@
this.editor_block.add.apply(this.editor_block, _pts);
this.editor_block.strokeWidth = this.options.tooltip_border_width;
this.editor_block.strokeColor = this.options.tooltip_border_color;
- this.editor_block.opacity = 0.8;
+ this.editor_block.opacity = this.options.tooltip_opacity;
this.editor_$ = $('<div>')
- .appendTo(this.renderer.editor_$)
- .css({
- position: "absolute",
- opacity: 0.8
- })
- .hide();
+ .appendTo(this.renderer.editor_$)
+ .css({
+ position: "absolute",
+ opacity: this.options.tooltip_opacity
+ })
+ .hide();
},
destroy: function() {
this.editor_block.remove();