Small fix for canvas:clear()

This commit is contained in:
Robert Jelic
2025-03-31 03:35:18 +02:00
parent 0314b0701e
commit 8361e5f9c2

View File

@@ -14,7 +14,7 @@ function Canvas.new(element)
end
function Canvas:clear()
self.commands = {}
self.commands = {pre={},post={}}
return self
end