midora Posted June 19, 2013 Posted June 19, 2013 The are some actions where a modifier key changes the behaviour of a function in Paint.NET. I.e, pressing the SHIFT key forces the switch between drawing an ellipse and a circle. My small issue here is that the application does not react immediately. You always have to move the mouse a bit. Maybe add something like this: Keys _lastModifiers; protected override void OnKeyDown(KeyEventArgs kevent) { if ((kevent.KeyData & Keys.Modifiers) != _lastModifiers) { _lastModifiers = (kevent.KeyData & Keys.Modifiers); // adapt your action i.e repeat the last OnMouseMove with the same location } } Quote
Rick Brewster Posted June 19, 2013 Posted June 19, 2013 Works fine here. Always has. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
midora Posted June 19, 2013 Author Posted June 19, 2013 OK, then I should check this on a set of computers. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.