A better strategy is to wait until the time comes for the next screen refresh, and apply the changes then.
更好的策略是等待下一次屏幕刷新,然后再应用更改。
It provides sharp contrast, speedier screen refresh and doesn't lose your cursor when you move it fast.
它使用鲜明的对比、更高速度的屏幕刷新,在你快速移动光标时不会丢失光标。
The next time the component is rendered (typically on next screen refresh), you can apply the font changes then.
当下次呈现该组件时(通常发生在下一次屏幕刷新),您就可以应用新的字体。
应用推荐