From 97fd53f33b92e334e6094edb340ea551a44d136e Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 8 Nov 2016 10:03:18 +0500 Subject: - Move arrow to file - Change stroke width - Fix label offset --- web/app/store/DeviceImages.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'web/app/store') diff --git a/web/app/store/DeviceImages.js b/web/app/store/DeviceImages.js index 968f90c4..57745f1c 100644 --- a/web/app/store/DeviceImages.js +++ b/web/app/store/DeviceImages.js @@ -22,10 +22,7 @@ Ext.define('Traccar.store.DeviceImages', { data: [{ key: 'default', name: Strings.categoryDefault, - svg: (new DOMParser()) - .parseFromString('' - + '', "image/svg+xml"), + url: 'images/arrow.svg', rotateId: 'arrow', fillId: 'arrow', scale: 1 @@ -60,7 +57,7 @@ Ext.define('Traccar.store.DeviceImages', { url: device.url, scope: device, success: function (response) { - this.svg = (new DOMParser()).parseFromString(response.responseText, "image/svg+xml"); + this.svg = new DOMParser().parseFromString(response.responseText, "image/svg+xml"); } }); } -- cgit v1.2.3