Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
keiya01 committed Mar 28, 2024
1 parent 0f20aa0 commit ff14cac
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app/src/map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export const Map = forwardRef<MapRef, Props>(function MapPresenter(
{
layers,
initialViewState = INITIAL_VIEW_STATE,
isReportOpen,
isBreakpointMd,
isOpening,
pickable,
Expand Down Expand Up @@ -224,12 +223,9 @@ export const Map = forwardRef<MapRef, Props>(function MapPresenter(
}}
onDragStart={handleResetMarkerData}
controller={
isReportOpen && isBreakpointMd
isBreakpointMd
? {
scrollZoom: false,
touchZoom: false,
touchRotate: false,
keyboard: false,
touchRotate: true,
}
: {}
}
Expand Down

0 comments on commit ff14cac

Please sign in to comment.