client/js/renderer/baseeditor.js
changeset 515 5fbcc117e8fe
parent 503 18cb4c4c4e5e
--- a/client/js/renderer/baseeditor.js	Thu Sep 10 16:22:28 2015 +0200
+++ b/client/js/renderer/baseeditor.js	Fri Sep 11 16:34:41 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();