Stick the index to the closest imgui window, register click only when the finger is 1cm inside the window

This commit is contained in:
Guillaume Meunier
2025-11-01 20:58:06 +01:00
parent aa3a1808f8
commit c0dc193247
4 changed files with 309 additions and 14 deletions
+2
View File
@@ -216,6 +216,8 @@ public:
return layers_;
}
std::vector<viewport> windows();
viewport & layer(ImVec2 position);
void new_frame(XrTime display_time);