src_js/iconolab-bundle/src/components/editor/ShapeRect.vue
changeset 408 159042869b47
parent 350 7c0b98b10e00
child 418 a04c55054afe
--- a/src_js/iconolab-bundle/src/components/editor/ShapeRect.vue	Wed Mar 01 15:29:21 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/ShapeRect.vue	Wed Mar 01 16:39:43 2017 +0100
@@ -1,11 +1,10 @@
 <template>
-<g ref="g" v-bind:transform="transform">
+<g ref="g" filter="url(#shadow)" v-bind:transform="transform">
     <rect
         ref="shape"
         x="0" y="0"
         v-bind:width="width" v-bind:height="height"
         v-bind:stroke-width="handlerSize / 5"
-        v-bind:stroke-dasharray="(handlerSize / 5) + ',' + (handlerSize / 5)"
         class="shape"
         v-bind:class="{ 'shape--draggable': !readonly }"></rect>
     <rect
@@ -208,7 +207,7 @@
 
 <style scoped>
 .shape {
-    fill: #bdc3c7;
+    fill: transparent;
     stroke: #000;
     opacity: 0.6;
 }