mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
cut (copy + delete) keybind support
This commit is contained in:
parent
d714af7d64
commit
877e5d7920
@ -121,7 +121,11 @@ export class HUDMassSelector extends BaseHUDPart {
|
||||
return;
|
||||
}
|
||||
this.root.hud.signals.buildingsSelectedForCopy.dispatch(Array.from(this.selectedUids));
|
||||
this.selectedUids = new Set();
|
||||
if (
|
||||
!this.root.keyMapper.getBinding(KEYMAPPINGS.massSelect.confirmMassDelete).isCurrentlyPressed()
|
||||
) {
|
||||
this.selectedUids = new Set();
|
||||
}
|
||||
this.root.soundProxy.playUiClick();
|
||||
} else {
|
||||
this.root.soundProxy.playUiError();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user