mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 08:50:54 +00:00
Update parse_cmx_events.py
Made title a property
This commit is contained in:
@@ -16,6 +16,7 @@ class EditList:
|
||||
self.title_statement = statements[0]
|
||||
self.event_statements = statements[1:]
|
||||
|
||||
@property
|
||||
def title(self):
|
||||
'The title of the edit list'
|
||||
return self.title_statement.title
|
||||
@@ -234,6 +235,3 @@ class Transition:
|
||||
"`True` if this is a key out event."
|
||||
return self.transition == KeyOut
|
||||
|
||||
def __repr__(self):
|
||||
return f"""CmxTransition(transition={self.transition.__repr__()},operand={self.operand.__repr__()})"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user