Fix using shift with the adjust tool
This commit is contained in:
parent
2ab983ec0a
commit
29fb8791e5
@ -1514,8 +1514,8 @@ class AdjustOperation extends MouseOperation {
|
||||
}
|
||||
return;
|
||||
}
|
||||
// FIXME implement shift to always target floor, or maybe start from bottom
|
||||
for (let layer = LAYERS.MAX - 1; layer >= 0; layer--) {
|
||||
let start_layer = this.shift ? 0 : LAYERS.MAX - 1;
|
||||
for (let layer = start_layer; layer >= 0; layer--) {
|
||||
let tile = cell[layer];
|
||||
if (! tile)
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user