Remove redundant code

pull/3559/head
stweedo 2024-09-06 00:13:44 -05:00 committed by GitHub
parent 078e11173c
commit 16a5650c41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -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