Add clear function to vm, this allows to workaround parts for #3

This commit is contained in:
Martijn de Boer 2018-01-10 19:03:07 +01:00
parent e7f23a391a
commit 543cad5228
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class VMController
'WIDTH': matrixSize.width,
'HEIGHT': matrixSize.height,
'clear': this.driver.clear.bind( this.driver ),
'setBrightness': this.driver.setBrightness.bind( this.driver ),
'getBrightness': this.driver.getBrightness.bind( this.driver ),
'setPixel': this.driver.setPixel.bind( this.driver ),