Documentation

UI::IsItemDeactivatedAfterEdit

Function

bool UI::IsItemDeactivatedAfterEdit()

Returns true if the last item was just made inactive and made a value change when it was active (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item).

Returns bool