engine: automatically turn-on touch emulation while editing touch from menu

This commit is contained in:
Alibek Omarov
2024-07-29 05:06:10 +03:00
parent f793413a79
commit eabed60e56
4 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ void Platform_SetCursorType( VGUI_DefaultCursor type )
}
// never disable cursor in touch emulation mode
if( !visible && touch_emulate.value )
if( !visible && Touch_Emulated( ))
return;
host.mouse_visible = visible;