-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Module
- deck.gl-community/arrow-layers
- deck.gl-community/bing-maps
- deck.gl-community/editable-layers
- deck.gl-community/experimental
- deck.gl-community/graph-layers
- deck.gl-community/layers
- deck.gl-community/react
- deck.gl-community/react-graph-layer
Description
After moving a corner of a rotated rectangle the rotation is lost and rectangle is forced into being perpendicular to x/y axis.
Screencast_20250611_214155.mp4
Expected Behavior
Rotation of a rectangle should be preserved.
Steps to Reproduce
- Create editable layer. Make sure to enable
lockRectangles: true
inmodeConfig
- Draw a rectangle with for example
DrawRectangleMode
orDrawRectangleUsingThreePointsMode
. - Rotate it using
RotateMode
(if drawn withDrawRectangleUsingThreePointsMode
it probably is already rotated) - Using
ModifyMode
drag one of the corners of the rectangle
Environment
- Framework version: [email protected], deck.gl-community/editable-layers: 9.1.0-beta.5
- Browser: 139.0.1
- OS: Linux
Logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working