kopia lustrzana https://github.com/paraboul/mapchecking
density should be a parsed as a float
rodzic
e13c88c8c5
commit
c4fcb487cd
|
@ -73,7 +73,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
densityUpdate(val) {
|
densityUpdate(val) {
|
||||||
this.density = val;
|
this.density = Math.round(val * 100) / 100;
|
||||||
},
|
},
|
||||||
|
|
||||||
formatArea(val) {
|
formatArea(val) {
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
this.surfaceUpdated();
|
this.surfaceUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('densityChange', parseInt(meta[0]));
|
this.$emit('densityChange', parseFloat(meta[0]));
|
||||||
},
|
},
|
||||||
|
|
||||||
loadLegacyHash(hash) {
|
loadLegacyHash(hash) {
|
||||||
|
|
Ładowanie…
Reference in New Issue