- minor tweaks on zoom and navigation arrow
This commit is contained in:
@@ -20,11 +20,11 @@ const OverviewVideoContainer = ({
|
||||
const location = useLocation();
|
||||
const handlers = useSwipeable({
|
||||
onSwipedLeft: () => {
|
||||
if (location.pathname === "/rear-camera-settings") return;
|
||||
if (location.pathname === "/b-camera-settings") return;
|
||||
navigate("/");
|
||||
},
|
||||
onSwipedRight: () => {
|
||||
if (location.pathname === "/camera-settings") return;
|
||||
if (location.pathname === "/a-camera-settings") return;
|
||||
navigate("/");
|
||||
},
|
||||
trackMouse: true,
|
||||
|
||||
Reference in New Issue
Block a user