mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-22 14:21:33 +03:00
Remove extraneous refresh on mount
This commit is contained in:
parent
ab76aacff3
commit
d64a011bb8
3
paint.py
3
paint.py
@ -218,9 +218,6 @@ class Canvas(Widget):
|
|||||||
self.image = None
|
self.image = None
|
||||||
self.pointer_active = False
|
self.pointer_active = False
|
||||||
|
|
||||||
def on_mount(self) -> None:
|
|
||||||
self.refresh()
|
|
||||||
|
|
||||||
def on_mouse_down(self, event) -> None:
|
def on_mouse_down(self, event) -> None:
|
||||||
self.post_message(self.ToolStart(event))
|
self.post_message(self.ToolStart(event))
|
||||||
self.pointer_active = True
|
self.pointer_active = True
|
||||||
|
Loading…
Reference in New Issue
Block a user