Lutz Roeder 4 роки тому
батько
коміт
5419db40f3
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      source/view-grapher.js

+ 1 - 0
source/view-grapher.js

@@ -302,6 +302,7 @@ grapher.Node.Header = class {
     }
 
     update(parent, top, width) {
+        const document = this._document;
         const dx = width - this.width;
         for (let i = 0; i < this._entries.length; i++) {
             const entry = this._entries[i];