Skip to content

Commit 2206070

Browse files
committed
feat: implement rotation handling and enhance selection frame updates in YourRoomPage
1 parent d573550 commit 2206070

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/features/home/presentation/your_room/your_room_page.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,10 @@ class _SelectionFrameState extends State<_SelectionFrame> {
844844
onPointerMove: (event) {
845845
if (!_resizing) return;
846846
final rawDelta = event.delta;
847-
final unrotatedDelta = _rotateDeltaToUnrotated(rawDelta, widget.rotation);
847+
final unrotatedDelta = _rotateDeltaToUnrotated(
848+
rawDelta,
849+
widget.rotation,
850+
);
848851
_resizeAccumulated += unrotatedDelta;
849852

850853
final targetWidth = (_initialWidth + _resizeAccumulated.dx).clamp(

0 commit comments

Comments
 (0)