summaryrefslogtreecommitdiff
path: root/ui.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-31 13:59:13 +1100
committerquou <quou@disroot.org>2024-12-31 13:59:13 +1100
commit92c41a7f7c5c96d07476f04a3bded2a8d04d2204 (patch)
tree9fe4f9e51616cf7bdc68789bbe3d8590af986984 /ui.hpp
parenta9a0d1ee84397621b6172693330b48e9474b0a91 (diff)
fix invalid clip rects
Diffstat (limited to 'ui.hpp')
-rw-r--r--ui.hpp2
1 files changed, 1 insertions, 1 deletions
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 {