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;
|
return;
|
||||||
}
|
}
|
||||||
this.root.hud.signals.buildingsSelectedForCopy.dispatch(Array.from(this.selectedUids));
|
this.root.hud.signals.buildingsSelectedForCopy.dispatch(Array.from(this.selectedUids));
|
||||||
|
if (
|
||||||
|
!this.root.keyMapper.getBinding(KEYMAPPINGS.massSelect.confirmMassDelete).isCurrentlyPressed()
|
||||||
|
) {
|
||||||
this.selectedUids = new Set();
|
this.selectedUids = new Set();
|
||||||
|
}
|
||||||
this.root.soundProxy.playUiClick();
|
this.root.soundProxy.playUiClick();
|
||||||
} else {
|
} else {
|
||||||
this.root.soundProxy.playUiError();
|
this.root.soundProxy.playUiError();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user