mirror of https://github.com/kivy/kivy.git
CodeInput: fixed disappearing lines after inserting text (#7737)
This commit is contained in:
parent
7d12150ee7
commit
25c00cc7e8
|
@ -129,7 +129,7 @@ class CodeInput(CodeNavigationBehavior, TextInput):
|
||||||
ntext = u'*' * len(ntext)
|
ntext = u'*' * len(ntext)
|
||||||
ntext = self._get_bbcode(ntext)
|
ntext = self._get_bbcode(ntext)
|
||||||
kw = self._get_line_options()
|
kw = self._get_line_options()
|
||||||
cid = u'{}\0{}\0{}'.format(ntext, self.password, kw)
|
cid = u'{}\0{}\0{}'.format(text, self.password, kw)
|
||||||
texture = Cache_get('textinput.label', cid)
|
texture = Cache_get('textinput.label', cid)
|
||||||
|
|
||||||
if texture is None:
|
if texture is None:
|
||||||
|
|
Loading…
Reference in New Issue