(one can also say "the change has no effect - yet", "it is delayed")
yes, happens reliably every time.
(expected: the font should update instantly)
steps to reproduce:
1. create a new world
2. run
Code: Select all
/c
game.player.gui.screen
.add{type = "frame", name = "demo", caption = "demo"}
.add{type = "textfield", name = "tf", text = "text"}
Code: Select all
/c game.player.gui.screen.demo.tf.style.font = "default-bold"
5. hover over the text box, it shows font "default-bold", but visually is "default"
6. focus the textfield
7. remove 1 char
8. the font changes visually to "default-bold"
alternatively, after 5. run
Code: Select all
/c game.player.gui.screen.demo.tf.text = "text"
then run
Code: Select all
/c game.player.gui.screen.demo.tf.text = "tex"
or
Code: Select all
/c game.player.gui.screen.demo.tf.style.color = {1, 0, 0}
state at step 5.:
state at end: