Fix: ImDrawList:PushClipRectFullScreen() was missing (drop target outside the window clip rect crashed); CalcItemSize() no longer writes to the caller's size (by value like upstream; fixes BeginTable UserOuterSize), scalar _CalcItemSizeXY for internal callers; t_fixes covers both

This commit is contained in:
4DBug committed 2026-10-15 02:05:43 -05:00
1 parent ce0f51d9d5
commit bc13bc50b8
9 files changed
+86 -45

No files matched your search

+5
View File
@@ -4998,6 +4998,11 @@ function MT.ImDrawList:PushClipRect(cr_min, cr_max, intersect_with_current_clip_
self:_OnChangedClipRect()
end
function MT.ImDrawList:PushClipRectFullScreen()
local cr = self._Data.ClipRectFullscreen
self:PushClipRect(ImVec2(cr.x, cr.y), ImVec2(cr.z, cr.w))
end
function MT.ImDrawList:PopClipRect()
local stack = self._ClipRectStack
IM_ASSERT(stack.Size > 0)