mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
[Web] Detect host OS and use macOS keys on mac hosts.
This commit is contained in:
@@ -136,6 +136,9 @@ bool OS_Web::_check_internal_feature_support(const String &p_feature) {
|
||||
if (p_feature == "web") {
|
||||
return true;
|
||||
}
|
||||
if (godot_js_os_has_feature(p_feature.utf8().get_data())) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user