Explorar el Código

Flattened containers are sorted by area

tags/v1.0.0
Fen Dweller hace 6 años
padre
commit
29009537cf
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      recursive-macro.js

+ 2
- 0
recursive-macro.js Ver fichero

@@ -501,6 +501,8 @@ function flatten(thing) {
list.push(obj);
});

list.sort(function(x,y) { return areas[x.name] < areas[y.name] })

return new Container(list);
}



Cargando…
Cancelar
Guardar