Fix VKeyboard missing with custom keyboard class (#7846)

This commit is contained in:
Gabriel Vogel 2023-04-29 22:14:46 +02:00 committed by GitHub
parent b69ca46a09
commit 48e6d12b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ class WindowBase(EventDispatcher):
and self._vkeyboard_cls is not None
):
for w in self.children:
if isinstance(w, VKeyboard):
if isinstance(w, self._vkeyboard_cls):
vkeyboard_height = w.height * w.scale
if self.softinput_mode == 'pan':
return vkeyboard_height