mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
fix blinking cursor
This commit is contained in:
parent
f914eb9c8f
commit
cfb2fa7eed
@ -109,6 +109,10 @@ class DirectEntry(DirectFrame):
|
|||||||
for i in range(self['numStates']):
|
for i in range(self['numStates']):
|
||||||
self.guiItem.setTextDef(i, self.onscreenText.textNode)
|
self.guiItem.setTextDef(i, self.onscreenText.textNode)
|
||||||
|
|
||||||
|
# Now we should call setup() again to make sure it has the
|
||||||
|
# right font def.
|
||||||
|
self.setup()
|
||||||
|
|
||||||
# Update initial text
|
# Update initial text
|
||||||
self.unicodeText = 0
|
self.unicodeText = 0
|
||||||
if self['initialText']:
|
if self['initialText']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user