src_js/iconolab-bundle/src/components/editor/ShapeRect.vue
changeset 335 86dbf2cdeeeb
parent 334 a0caf91c8374
child 342 ebec1d59dc74
--- a/src_js/iconolab-bundle/src/components/editor/ShapeRect.vue	Tue Feb 21 16:04:20 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/ShapeRect.vue	Wed Feb 22 11:04:16 2017 +0100
@@ -155,11 +155,6 @@
                 bottomRightHandler.drag(handlerEvents.onMove, handlerEvents.onStart, handlerEvents.onEnd);
             },
 
-            getCenter: function() {
-                var shape = new Snap(this.$refs.shape);
-                console.log(shape.getBBox());
-            },
-
             fromSVGPath: function(pathString, tooltip) {
                 var bBox = Snap.path.getBBox(pathString);