philazzi44 / DnDCS

DnD Client-Server
3 stars 1 forks source link

Zooming on the client (too easy to do) #6

Closed philazzi44 closed 10 years ago

philazzi44 commented 10 years ago

Since SHIFT + Wheel is to scroll left/right, and CTRL + Wheel is to zoom in/out, the stopgap in place now to prevent accidental zooming is that you have to hit Enter/Click to commit the zoom, and Escape/Right Click to cancel it.

Simple idea is to just change the zoom key from LeftCtrl to RightCtrl, since our use case is normally LeftShift + Wheel to scrol..

philazzi44 commented 10 years ago

Tried this out last night, and wasn't straightforward to determine LeftCtrl versus RightCtrl in the MouseWheel event (could use an interop call that apparently doesn't always work, or track it in the KeyDown/KeyUp events explicitly). Gonna do nothing until it ends up being a problem - the stopgap is likely sufficient for our purposes.