From 623ee305449e5b36afa64296fed891e6bc553f47 Mon Sep 17 00:00:00 2001 From: cpsdqs Date: Sun, 8 Oct 2017 22:28:39 +0200 Subject: [PATCH] Fix debug toolbar getting wrong value --- js/term/debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/term/debug.js b/js/term/debug.js index 61c65c8..294da29 100644 --- a/js/term/debug.js +++ b/js/term/debug.js @@ -58,7 +58,7 @@ module.exports = function attachDebugger (screen, connection) { }, drawEnd () { endTime = Date.now() - drawInfo.textContent = `Draw: ${lastReason} (${(endTime - startTime)} ms), fancy_gfx=${screen.window.graphics}` + drawInfo.textContent = `Draw: ${lastReason} (${(endTime - startTime)} ms), fancy gfx=${screen.layout.renderer.graphics}` startDrawing() }, setCell (cell, flags) {