midora Posted June 19, 2013 Share 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 Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 19, 2013 Share 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 Link to comment Share on other sites More sharing options...
midora Posted June 19, 2013 Author Share Posted June 19, 2013 OK, then I should check this on a set of computers. Quote Link to comment Share on other sites More sharing options...
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.