forked from 0x2620/oxjs
only cache width on item construction (not on list resize)
This commit is contained in:
parent
4eef6ece64
commit
c31ff816c1
3 changed files with 7 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ Ox.load('Geo', function() {
|
|||
area = Math.sqrt(city.population * 100),
|
||||
latSize = area / Ox.EARTH_CIRCUMFERENCE * 360,
|
||||
lngSize = area * Ox.getDegreesPerMeter(city.latitude);
|
||||
return city.population > 400000/*400000*/ ? {
|
||||
return city.population > 100000/*400000*/ ? {
|
||||
area: city.population * 100,
|
||||
countryCode: countryCode,
|
||||
editable: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue