kopia lustrzana https://github.com/FacilMap/facilmap
Fix updating of object styles in relation to type after recent changes
rodzic
443b1c3e7a
commit
74f888977f
|
@ -294,7 +294,6 @@ function _updateObjectStyles(objectStream, isLine) {
|
||||||
|
|
||||||
var option = _find(object.data[field.name]) || _find(field.default) || field.options[0];
|
var option = _find(object.data[field.name]) || _find(field.default) || field.options[0];
|
||||||
|
|
||||||
var update = { };
|
|
||||||
if(option != null) {
|
if(option != null) {
|
||||||
if(field.controlColour && object.colour != option.colour)
|
if(field.controlColour && object.colour != option.colour)
|
||||||
update.colour = option.colour;
|
update.colour = option.colour;
|
||||||
|
|
Ładowanie…
Reference in New Issue