mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 07:30:51 +01:00
Fix floorplan buttons
This commit is contained in:
parent
900bfc3bac
commit
ff46a89e79
@ -192,9 +192,11 @@ export class FloorplanEditor extends PixiApplicationProxy
|
||||
}
|
||||
return;
|
||||
case FloorAction.UP:
|
||||
if(tile.height === 'x') return;
|
||||
futureHeightIndex = heightIndex + 1;
|
||||
break;
|
||||
case FloorAction.DOWN:
|
||||
if(tile.height === 'x' || (heightIndex <= 1)) return;
|
||||
futureHeightIndex = heightIndex - 1;
|
||||
break;
|
||||
case FloorAction.SET:
|
||||
|
Loading…
Reference in New Issue
Block a user