Fix 2d view height for touch ui

This commit is contained in:
luboslenco
2023-06-19 16:27:49 +02:00
parent d3f9b5731c
commit 90a9afa211
+1
View File
@@ -98,6 +98,7 @@ class UIView2D {
if (UINodes.inst.show) {
wh -= Config.raw.layout[LayoutNodesH];
if (Config.raw.touch_ui) wh += UIHeader.headerh;
}
if (ui.window(hwnd, wx, wy, ww, wh)) {