Skip to content

Commit

Permalink
Render the Logger UI later
Browse files Browse the repository at this point in the history
  • Loading branch information
laffra committed Nov 22, 2023
1 parent a151249 commit 80d40a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ltk/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def __init__(self):

def add_table(self):
self.selector = find('#ltk-log-level')
self.element.append(
self.element.css("opacity", 0).append(
VBox(
HBox(
Text().text("When"),
Expand Down Expand Up @@ -663,6 +663,7 @@ def add(self, level, *args, **argv):
else:
console.orig_log(*args)
self.filter_rows()
self.element.animate(to_js({"opacity": 1}), 1300)
except Exception as e:
print("Log error:", e)

Expand Down

0 comments on commit 80d40a7

Please sign in to comment.