This project has moved and is read-only. For the latest updates, please go here.

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

May 15, 2014 at 11: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
May 16, 2014 at 3:54 PM
We can reproduce the issue and will fix it for the next release.
Jun 17, 2014 at 10: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 9:05 AM
Great, thank you.