EnderWiggin / hafen-client

New Haven client
Other
26 stars 35 forks source link

Ortho Camera Snap #28

Closed wafflekat closed 3 years ago

wafflekat commented 3 years ago

Added snap methods to ortho cam Adhering to the keybinding stuff, though since these are specific to ortho cams I thought to indicate that but that makes the text big and ugly in the options. Personally one of the most important features in a haven client. I keep clicking to snap and forget it's not implemented.. So here it is 😄

EnderWiggin commented 3 years ago

I would prefer if this worked for all cameras.

tomventura commented 3 years ago

I would prefer if this worked for all cameras.

I'll give it a shot

wafflekat commented 3 years ago

@EnderWiggin Added to all cameras. Note that on isometric ortho it'll snap back to isometric whenever camera is zoomed / moved. Could add a check for that but personally I'd have it on free ortho, not iso ortho. Anyway, can finally have this again.

EDIT: Just made it so it only works on iso ortho if isometric == false. Makes more sense