在put_text或者put其他组件的时候会有个从透明到不透明的效果,这个效果能去掉吗? #640
Unanswered
tinamengal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
‘def show_time():
while True:
with use_scope(name='time', clear=True):
put_text(datetime.datetime.now())
time.sleep(1)
def app():
t = threading.Thread(target=show_time)
register_thread(t)
put_markdown('## Clock')
t.start() # run
show_time()
in backgroundstart_server(app, port=8080, debug=True)’
这是官网上的例子,运行的时候每隔一秒重新加载显示时间的text的时候都有一个从透明到不透明的过渡动画,这个效果在哪里能去掉吗
Beta Was this translation helpful? Give feedback.
All reactions