UI improvements
This commit is contained in:
committed by
Guillaume Meunier
parent
b7d17db0c7
commit
5e359fe983
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user