From 3dc5561005d248ec09f68a2b4a75d570a18d0d38 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 12 Nov 2016 10:51:35 +1300 Subject: Try new style for images --- web/app/store/DeviceImages.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'web/app/store/DeviceImages.js') diff --git a/web/app/store/DeviceImages.js b/web/app/store/DeviceImages.js index efe8606..4a89f4c 100644 --- a/web/app/store/DeviceImages.js +++ b/web/app/store/DeviceImages.js @@ -30,64 +30,64 @@ Ext.define('Traccar.store.DeviceImages', { key: 'default', name: Strings.categoryDefault, svg: document.getElementById('defaultSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }, { key: 'car', name: Strings.categoryCar, svg: document.getElementById('carSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }, { key: 'bus', name: Strings.categoryBus, svg: document.getElementById('busSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }, { key: 'truck', name: Strings.categoryTruck, svg: document.getElementById('truckSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }, { key: 'ship', name: Strings.categoryShip, svg: document.getElementById('shipSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }, { key: 'plane', name: Strings.categoryPlane, svg: document.getElementById('planeSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }, { key: 'motorcycle', name: Strings.categoryMotorcycle, svg: document.getElementById('motorcycleSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }, { key: 'bicycle', name: Strings.categoryBicycle, svg: document.getElementById('bicycleSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }, { key: 'person', name: Strings.categoryPerson, svg: document.getElementById('personSvg').contentDocument, - fillId: 'path4724', - rotateId: 'path4724', + fillId: 'background', + rotateId: 'background', scaleId: 'layer1' }] }); -- cgit v1.2.3