Skip to content

Commit

Permalink
Remove unused local
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom94 committed Jan 8, 2024
1 parent 04e0ec1 commit b97594c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ImageViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,6 @@ bool ImageViewer::mouse_button_event(const nanogui::Vector2i& p, int button, boo
}

auto* glfwWindow = screen()->glfw_window();

bool isDraggingImageButton = mDragType == EMouseDragType::ImageButtonDrag;
if (down) {
if (mDragType != EMouseDragType::ImageButtonDrag) {
mDraggingStartPosition = p;
Expand Down

0 comments on commit b97594c

Please sign in to comment.