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

another linter fix omggmmggmfgfjdf

This commit is contained in:
Aurumaker72 2021-03-21 14:00:31 +01:00
parent 27daeefec3
commit 11c92c50b4

View File

@ -204,10 +204,11 @@ export class HUDMassSelector extends BaseHUDPart {
* @param {enumMouseButton} mouseButton
*/
onMouseDown(pos, mouseButton) {
if (!this.root.keyMapper.getBinding(KEYMAPPINGS.massSelect.massSelectStart.pressed)
|| mouseButton !== enumMouseButton.left) {
return;
}
if (
!this.root.keyMapper.getBinding(KEYMAPPINGS.massSelect.massSelectStart.pressed) ||
mouseButton !== enumMouseButton.left) {
return;
}
if (!this.root.keyMapper.getBinding(KEYMAPPINGS.massSelect.massSelectSelectMultiple).pressed) {
// Start new selection