1
0
Fork 0

Merge pull request #100892 from syntaxerror247/patch-1

Warn if `virtual_keyboard_get_height()` is unsupported
This commit is contained in:
Rémi Verschelde 2025-01-06 22:47:49 +01:00
commit f5d21154d2
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 1 deletions

View File

@ -631,7 +631,8 @@ void DisplayServer::virtual_keyboard_hide() {
// returns height of the currently shown keyboard (0 if keyboard is hidden)
int DisplayServer::virtual_keyboard_get_height() const {
ERR_FAIL_V_MSG(0, "Virtual keyboard not supported by this display server.");
WARN_PRINT("Virtual keyboard not supported by this display server.");
return 0;
}
bool DisplayServer::has_hardware_keyboard() const {