mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 21:39:06 +08:00
Revert "fix jittering in markdown in viewer beta"
This reverts commit 70ade42e46.
This commit is contained in:
1 parent
70ade42e46
commit
622342cdce
1 file changed
+2
-1
@@ -270,9 +270,10 @@ class ControlPanel:
|
|||||||
step: the train step to set the model to
|
step: the train step to set the model to
|
||||||
"""
|
"""
|
||||||
with self.viser_server.atomic(), self.stat_folder:
|
with self.viser_server.atomic(), self.stat_folder:
|
||||||
|
# TODO change to a .value call instead of remove() and add, this makes it jittery
|
||||||
with self.viser_server.atomic():
|
with self.viser_server.atomic():
|
||||||
self.markdown.remove()
|
self.markdown.remove()
|
||||||
self.markdown.content = f"Step: {step}"
|
self.markdown = self.viser_server.add_gui_markdown(f"Step: {step}")
|
||||||
|
|
||||||
def update_output_options(self, new_options: List[str]):
|
def update_output_options(self, new_options: List[str]):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in new issue
Block a user