Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 13, 2023
1 parent 5587c8c commit 727ebfe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions taxonium_component/src/Deck.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ function Deck({

const onClickOrMouseMove = useCallback(
(event) => {


if (event._reactName === "onClick") {

setMouseDownIsMinimap(false);
}
if (event.buttons === 0 && event._reactName === "onPointerMove") {
Expand Down Expand Up @@ -115,7 +112,6 @@ function Deck({
y: event.nativeEvent.offsetY,
radius: 10,
});


if (event._reactName === "onPointerDown") {
if (pickInfo && pickInfo.viewport.id === "minimap") {
Expand Down

0 comments on commit 727ebfe

Please sign in to comment.