1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

alright, linter

This commit is contained in:
EmeraldBlock 2020-10-08 20:10:24 -05:00 committed by GitHub
parent e8bc5bc1ec
commit f4fa25d339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,8 +160,7 @@ export class HUDBaseToolbar extends BaseHUDPart {
}
let newBuildingFound = false;
const direction = this.root.keyMapper.getBinding(KEYMAPPINGS.placement.rotateInverseModifier)
.pressed
const direction = this.root.keyMapper.getBinding(KEYMAPPINGS.placement.rotateInverseModifier).pressed
? -1
: 1;
let newIndex = this.lastSelectedIndex;