Skip to content

Commit 660f8ea

Browse files
committed
fix padding
1 parent 57598ee commit 660f8ea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Widgets/NearbyTasksWidget/NearbyTasksWidget.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default class NearbyTasksWidget extends Component {
7474
})),
7575
});
7676

77-
const bounds = toLatLngBounds(bundleBounds).pad(0.2);
77+
const bounds = toLatLngBounds(bundleBounds);
7878
const zoom = this.props.criteria?.zoom || 18;
7979

8080
this.props.updateTaskFilterBounds(bounds, zoom);

src/components/Widgets/TaskBundleWidget/TaskBundleWidget.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default class TaskBundleWidget extends Component {
116116
})),
117117
});
118118

119-
const bounds = toLatLngBounds(bundleBounds).pad(0.2);
119+
const bounds = toLatLngBounds(bundleBounds);
120120
const zoom = this.props.criteria?.zoom || 18;
121121

122122
this.props.updateTaskFilterBounds(bounds, zoom);

0 commit comments

Comments
 (0)