2 Handlers are out of position

May 13, 2016 at 3:59 AM
Has anyone figured out what's wrong with the upper left and upper middle grab handlers?

They're wildly out of position.

I'm guessing it's somewhere in the BaseHandlerCollection.cs file, but I can't find where
May 16, 2016 at 9:05 PM
OK, I found it.

In RedimensionHandler.cs which is in DrawingBoard2\Handlers folder

Change:
            case HandlerOperator.RedimNorthWest:
                region.X0 = shape.PosStartX - 2;
                region.Y0 = shape.PosStartX - 2; <------- Wrong
                break;
            case HandlerOperator.RedimNorth:
                region.X0 = shape.PosStartX - 2 + ((shape.PosEndX - shape.PosStartX) / 2);
                region.Y0 = shape.PosStartX - 2; <------- Wrong
                break;
To:
            case HandlerOperator.RedimNorthWest:
                region.X0 = shape.PosStartX - 2;
                region.Y0 = shape.PosStartY - 2; <------- Correct
                break;
            case HandlerOperator.RedimNorth:
                region.X0 = shape.PosStartX - 2 + ((shape.PosEndX - shape.PosStartX) / 2);
                region.Y0 = shape.PosStartY - 2; <------- Correct
                break;
Hope it helps someone