UI improvements

This commit is contained in:
ahsanswr
2026-07-26 17:24:36 +02:00
committed by Guillaume Meunier
parent b7d17db0c7
commit 5e359fe983
8 changed files with 104 additions and 68 deletions
+9 -7
View File
@@ -515,13 +515,6 @@ void scenes::stream::on_focused()
.vp_origin = {0, 0},
.vp_size = {1800, 1000},
},
{
// Popup window
.space = xr::spaces::world,
.size = {1.2, 0.6666},
.vp_origin = {1800, 0},
.vp_size = {1800, 1000},
},
{
.space = xr::spaces::world,
.size = {1.2, 0.1333},
@@ -529,6 +522,15 @@ void scenes::stream::on_focused()
.vp_size = {1800, 200},
.tooltip_viewport = true,
},
{
// Pop up window: combos and modals float just in front of the main panel.
// Position and orientation track the main panel each frame. Same pixel
// density as the main panel (1500 px/m) so text matches.
.space = xr::spaces::world,
.size = {1.2, 0.6666},
.vp_origin = {1800, 0},
.vp_size = {1800, 1000},
},
};
imgui_ctx.emplace(physical_device,