diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-14 12:15:55 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-14 12:15:55 +0500 |
commit | cac80442ee6ce9ed72007733346f17fa410d1674 (patch) | |
tree | af519260ef33e76224cc1466ea7bee2c9cd06a93 /web/app/DeviceImages.js | |
parent | f31ff81c2b027e2b0ecfe0cba33b6a74c58ab228 (diff) | |
download | trackermap-web-cac80442ee6ce9ed72007733346f17fa410d1674.tar.gz trackermap-web-cac80442ee6ce9ed72007733346f17fa410d1674.tar.bz2 trackermap-web-cac80442ee6ce9ed72007733346f17fa410d1674.zip |
Fix icon blinking
Diffstat (limited to 'web/app/DeviceImages.js')
-rw-r--r-- | web/app/DeviceImages.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/DeviceImages.js b/web/app/DeviceImages.js index 1e63cf29..96f00980 100644 --- a/web/app/DeviceImages.js +++ b/web/app/DeviceImages.js @@ -73,6 +73,7 @@ Ext.define('Traccar.DeviceImages', { imgSize: [width, height], src: 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(new XMLSerializer().serializeToString(svg.documentElement)) }); + image.load(); image.fill = color; image.zoom = zoom; image.angle = angle; |