Skip to content

Commit

Permalink
renderpick if measure bind is activated
Browse files Browse the repository at this point in the history
  • Loading branch information
aoterodelaroza committed Nov 25, 2024
1 parent c020f82 commit 5f728f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.349
1.2.350
3 changes: 2 additions & 1 deletion src/gui/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,8 @@ module subroutine draw_view(w)
hover_and_moved = .false.
if (hover) then
call igGetMousePos(pos)
hover_and_moved = (abs(w%mousepos_lastframe%x-pos%x) > 1e-4 .or. abs(w%mousepos_lastframe%y-pos%y) > 1e-4)
hover_and_moved = (abs(w%mousepos_lastframe%x-pos%x) > 1e-4.or.abs(w%mousepos_lastframe%y-pos%y) > 1e-4)
hover_and_moved = hover_and_moved.or.(w%view_mousebehavior == MB_Navigation.and.is_bind_event(BIND_NAV_MEASURE))
w%mousepos_lastframe = pos
end if

Expand Down

0 comments on commit 5f728f6

Please sign in to comment.