shapez.io icon indicating copy to clipboard operation
shapez.io copied to clipboard

Suggestion: Pan with middle mouse

Open sbrl opened this issue 3 years ago • 7 comments

I keep trying to do this, and it doesn't work! Is there a setting? Then I don't have to stop building something just to pan across the game field.

sbrl avatar Jan 23 '21 18:01 sbrl

Duplicate of #466

EmeraldBlock avatar Jan 23 '21 18:01 EmeraldBlock

and it doesn't work!

This is in a browser, you'll need to somehow override scrolling...

Aurumaker72 avatar Jan 29 '21 16:01 Aurumaker72

....but middle mouse doesn't do anything at all for me at the moment anyway in the standalone version or in Firefox, @Aurumaker72?

Edit: Wouldn't

event.stopPropagation();
event.preventDefault();
return false;

do the trick in a addEventListener event handler?

sbrl avatar Jan 31 '21 16:01 sbrl

....but middle mouse doesn't do anything at all for me at the moment anyway in the standalone version or in Firefox

Im guessing it is doing something behind the scenes. Just a question: MMB panning would be kind of painful on the fingers, it isn't worth it. You can always just use the pippete tool to reselect the item.

Aurumaker72 avatar Jan 31 '21 17:01 Aurumaker72

Just a question: MMB panning would be kind of painful on the fingers, it isn't worth it. You can always just use the pippete tool to reselect the item.

My finger is already on the mouse wheel to zoom out/in, so it makes sense to be able to keep it there rather than switching between the left mouse button and the middle mouse button all the time.

Furthermore, I already use the pipette tool. The panning here I'm talking about is zooming out and then panning over t another factory I've built for example. I'm unsure as to what you're getting at there.

sbrl avatar Feb 02 '21 15:02 sbrl

Can you close this?

Aurumaker72 avatar Feb 26 '21 19:02 Aurumaker72

@Aurumaker72 I'm not sure I understand. Both the issue linked to and the PR attached to it are closed without being merged.

sbrl avatar Mar 08 '21 20:03 sbrl