1
0
Fork 0
mirror of https://github.com/sexybiggetje/pixdisp.git synced 2024-11-25 01:21:03 +01:00

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

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 ),