Skip to content

Commit

Permalink
Fix widget drag out bug
Browse files Browse the repository at this point in the history
Fixed widgets sometimes not being removed from list after being dragged out
  • Loading branch information
Gold872 committed Oct 23, 2023
1 parent eaa30ac commit 7601dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/widgets/draggable_containers/draggable_list_layout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ class DraggableListLayout extends DraggableLayoutContainer {
widget.draggablePositionRect.left),
DraggableWidgetContainer.snapToGrid(
widget.draggablePositionRect.top),
widget.draggablePositionRect.width,
widget.draggablePositionRect.height,
widget.displayRect.width,
widget.displayRect.height,
);

if (dashboardGrid.isValidLocation(previewLocation) ||
Expand Down

0 comments on commit 7601dd8

Please sign in to comment.