Split Apple platform target and move platform state ownership
This commit is contained in:
@@ -357,7 +357,7 @@ void bind_legacy_tools_menu(App& app)
|
||||
if (auto vr_btn = popup_time->find<NodeButtonCustom>("tools-vr"))
|
||||
{
|
||||
NodeCheckBox* cb = vr_btn->find<NodeCheckBox>("tools-vr-check");
|
||||
cb->set_value(app.has_vr);
|
||||
cb->set_value(app.vr_session_snapshot().has_vr);
|
||||
|
||||
vr_btn->on_click = [vr_btn](Node*)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user