mirror of https://github.com/kivy/kivy.git
Fix VKeyboard missing with custom keyboard class (#7846)
This commit is contained in:
parent
b69ca46a09
commit
48e6d12b73
|
@ -667,7 +667,7 @@ class WindowBase(EventDispatcher):
|
||||||
and self._vkeyboard_cls is not None
|
and self._vkeyboard_cls is not None
|
||||||
):
|
):
|
||||||
for w in self.children:
|
for w in self.children:
|
||||||
if isinstance(w, VKeyboard):
|
if isinstance(w, self._vkeyboard_cls):
|
||||||
vkeyboard_height = w.height * w.scale
|
vkeyboard_height = w.height * w.scale
|
||||||
if self.softinput_mode == 'pan':
|
if self.softinput_mode == 'pan':
|
||||||
return vkeyboard_height
|
return vkeyboard_height
|
||||||
|
|
Loading…
Reference in New Issue