Align layer canvas to the left
So that the position is not affected by the `text-align` css rule.
This commit is contained in:
@@ -247,6 +247,7 @@ class WebGLHelper extends Disposable {
|
||||
*/
|
||||
this.canvas_ = document.createElement('canvas');
|
||||
this.canvas_.style.position = 'absolute';
|
||||
this.canvas_.style.left = '0';
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user