Skip to content

Commit

Permalink
Deprecate SetItemAllowOverlap() for SetNextItemAllowOverlap()
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Jan 14, 2024
1 parent 42dc1ae commit 0ac25d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2337,12 +2337,14 @@ function GetItemRectSize()
end

"""
SetItemAllowOverlap()
SetNextItemAllowOverlap()
Allow last item to be overlapped by a subsequent item. Sometimes useful with invisible buttons,
selectables, etc. to catch unused area.
See Demo Window under "Widgets->Querying Status" for an interactive visualization of many of those functions.
"""
SetItemAllowOverlap() = igSetItemAllowOverlap()
SetNextItemAllowOverlap() = igSetNextItemAllowOverlap()

@deprecate SetItemAllowOverlap() SetNextItemAllowOverlap()

################################## Miscellaneous Utilities #################################
"""
Expand Down

0 comments on commit 0ac25d2

Please sign in to comment.