removed prints

This commit is contained in:
Will McGugan
2022-10-18 15:25:49 +01:00
parent 9b22c6db9e
commit 0372c13d2b

View File

@@ -255,7 +255,6 @@ class Screen(Widget):
self.focused.post_message_no_wait(events.Blur(self)) self.focused.post_message_no_wait(events.Blur(self))
self.focused.emit_no_wait(events.DescendantBlur(self)) self.focused.emit_no_wait(events.DescendantBlur(self))
self.focused = None self.focused = None
print("FOCUSED", None)
elif widget.can_focus: elif widget.can_focus:
if self.focused != widget: if self.focused != widget:
if self.focused is not None: if self.focused is not None:
@@ -264,7 +263,6 @@ class Screen(Widget):
self.focused.emit_no_wait(events.DescendantBlur(self)) self.focused.emit_no_wait(events.DescendantBlur(self))
# Change focus # Change focus
self.focused = widget self.focused = widget
print("FOCUSED", widget)
# Send focus event # Send focus event
if scroll_visible: if scroll_visible:
self.screen.scroll_to_widget(widget) self.screen.scroll_to_widget(widget)