Reverse order of shapes in shape info

This commit is contained in:
tobspr 2020-08-28 22:48:47 +02:00
parent a498ee2704
commit 7cbe5bb8e7
1 changed files with 133 additions and 133 deletions

View File

@ -84,7 +84,7 @@ export class HUDShapeViewer extends BaseHUDPart {
const layers = definition.layers;
this.contentDiv.setAttribute("data-layers", layers.length);
for (let i = 0; i < layers.length; ++i) {
for (let i = layers.length - 1; i >= 0; --i) {
const layerElem = makeDiv(this.renderArea, null, ["layer", "layer-" + i]);
let fakeLayers = [];