1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-21 05:18:05 +00:00

vr:: you can still click the map while an UI is shown

This commit is contained in:
Zeno Rogue
2020-12-31 04:55:46 +01:00
parent f9740e5ee3
commit 0ffd31e4b4
2 changed files with 23 additions and 16 deletions

View File

@@ -609,7 +609,7 @@ EX bool need_mouseh = false;
EX void fix_mouseh() {
if(0) ;
#if CAP_VR
else if(vrhr::active() && which_pointer && !vrhr::in_menu())
else if(vrhr::active() && which_pointer && !vrhr::targeting_menu)
vrhr::compute_point(which_pointer, mouseh, mouseover, vrhr::pointer_distance);
#endif
else if(!need_mouseh) ;