From 24a85bb40594bda3fe30d401cdba639a0bccfc25 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Tue, 17 Oct 2017 03:33:38 +0200 Subject: [PATCH] Set highlightable to false on SVG components --- src/dom_components/model/ComponentSvg.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dom_components/model/ComponentSvg.js b/src/dom_components/model/ComponentSvg.js index 183496c25..a3e98fd28 100644 --- a/src/dom_components/model/ComponentSvg.js +++ b/src/dom_components/model/ComponentSvg.js @@ -2,6 +2,10 @@ var Component = require('./Component'); module.exports = Component.extend({ + defaults: { ...Component.prototype.defaults, + highlightable: 0, + }, + getName() { let name = this.get('tagName'); let customName = this.get('custom-name');