From 92c41a7f7c5c96d07476f04a3bded2a8d04d2204 Mon Sep 17 00:00:00 2001 From: quou Date: Tue, 31 Dec 2024 13:59:13 +1100 Subject: fix invalid clip rects --- ui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.hpp') diff --git a/ui.hpp b/ui.hpp index 5c67434..c11cd8f 100644 --- a/ui.hpp +++ b/ui.hpp @@ -98,7 +98,7 @@ struct UI { Pipeline* pipeline; Render_Pass* render_pass; Element* root, * hot, * hovered; - int area_w, area_h; + Rect area; bool layout_dirty; struct UI_CBuffer { -- cgit v1.2.3-54-g00ecf