This commit is contained in:
dbr 2022-03-19 21:07:57 +11:00
parent 091e5a6a15
commit a658073bd7

View File

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