Skip to content

Commit 0597e8d

Browse files
committed
Merge PR #2349: Add missing event.setHandled() in MouseUp
Completes the event propagation fix by adding the missing setHandled() call.
1 parent 32169b5 commit 0597e8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cinder/CinderImGui.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ static void ImGui_ImplCinder_MouseUp( ci::app::MouseEvent& event )
374374
io.KeyShift = event.isShiftDown();
375375
io.KeyAlt = event.isAltDown();
376376
io.KeySuper = event.isMetaDown();
377+
event.setHandled( io.WantCaptureMouse );
377378
}
378379
static void ImGui_ImplCinder_MouseWheel( ci::app::MouseEvent& event )
379380
{

0 commit comments

Comments
 (0)