mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-21 13:51:45 +03:00
Show every event with comments in generated code
This commit is contained in:
parent
baa2b8cbc6
commit
9739422936
@ -162,6 +162,7 @@ class PilotRecorder():
|
||||
helpers: dict[str, str] = {}
|
||||
steps_code = ""
|
||||
for step_index, (event, offset, selector, index) in enumerate(self.steps):
|
||||
steps_code += f"# {event!r}, {offset!r}, {selector!r}, {index!r})\n"
|
||||
if isinstance(event, (MouseDown, MouseMove)):
|
||||
pass
|
||||
elif isinstance(event, MouseUp):
|
||||
|
Loading…
Reference in New Issue
Block a user