After moving the shape with arrow keys, mouse scrolling is dysfunctional

May 15, 2014 at 10:28 AM
Hi

After you move move selected shape(s) with arrow keys, mouse scrolling scrolls only by one pixel. Before that scrolling works as expected.

You can try this in NShapeDesigner, ver. 2.2.0.0.


Thanks,
Zvonko
Coordinator
May 16, 2014 at 2:54 PM
We can reproduce the issue and will fix it for the next release.
Coordinator
Jun 17, 2014 at 9:48 AM
In case you need a hot fix for this issue, insert the following method into the display control's code:
public partial class Display : UserControl, IDiagramPresenter, IDisplayService {

    (...)

    /// <override></override>
    protected override bool IsInputKey(Keys keyData) {
        switch (keyData & ~Keys.Modifiers) {
            case Keys.Down:
            case Keys.Left:
            case Keys.Right:
            case Keys.Up:
                return true;
            default:
                return base.IsInputKey(keyData);
        }
    }

    (...)
}
Jun 19, 2014 at 8:05 AM
Great, thank you.