Fix debug toolbar getting wrong value

pull/1/head
cpsdqs 7 years ago
parent 7fe6b35243
commit 623ee30544
Signed by untrusted user: cpsdqs
GPG Key ID: 3F59586BB7448DD1
  1. 2
      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) {

Loading…
Cancel
Save