Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
stweedo committed Sep 6, 2024
1 parent 078e111 commit 16a5650
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apps/boxclk/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,8 @@

if (isDragging) {
widgets.hide();
// Stop propagation of the touch event to prevent other handlers
E.stopEventPropagation();
} else {
widgets.show();
widgets.swipeOn();
// Call updateBoxData when transitioning from dragging to not dragging
updateBoxData();
deselectAllBoxes();
}
} else {
// If tapped outside any box, deselect all boxes
Expand Down

0 comments on commit 16a5650

Please sign in to comment.