canvas: remove useless dom color request

This commit is contained in:
jean-emmanuel 2018-10-16 11:11:37 +02:00
parent 017ab623f8
commit 3907721052

View file

@ -77,7 +77,6 @@ class Canvas extends Widget {
this.visible = false
this.colors = {}
this.textColor = getComputedStyle(document.documentElement).getPropertyValue('--color-text-fade')
this.on('resize', this.resizeHandleProxy.bind(this), {element: this.canvas})