From a658073bd78e865de6375d2de28e8a1d6ceb6e76 Mon Sep 17 00:00:00 2001 From: dbr Date: Sat, 19 Mar 2022 21:07:57 +1100 Subject: [PATCH] Booleano --- imgui/src/list_clipper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui/src/list_clipper.rs b/imgui/src/list_clipper.rs index 7b11684..a7c000c 100644 --- a/imgui/src/list_clipper.rs +++ b/imgui/src/list_clipper.rs @@ -92,7 +92,7 @@ impl<'ui> ListClipperToken<'ui> { panic!("ListClipperToken::step called after it has previously returned false"); } let ret = unsafe { sys::ImGuiListClipper_Step(self.list_clipper) }; - if ret { + if !ret { self.consumed_workaround = true; } ret