|
|
@ -366,9 +366,9 @@ module.exports = function attachDebugger (screen, connection) { |
|
|
|
|
|
|
|
|
|
|
|
let fancyGraphics = document.createElement('input') |
|
|
|
let fancyGraphics = document.createElement('input') |
|
|
|
fancyGraphics.type = 'checkbox' |
|
|
|
fancyGraphics.type = 'checkbox' |
|
|
|
fancyGraphics.value = !!screen.layout.window.graphics |
|
|
|
fancyGraphics.value = !!screen.layout.renderer.graphics |
|
|
|
fancyGraphics.addEventListener('change', e => { |
|
|
|
fancyGraphics.addEventListener('change', e => { |
|
|
|
screen.layout.window.graphics = +fancyGraphics.checked |
|
|
|
screen.layout.renderer.graphics = +fancyGraphics.checked |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
toolbarData = { |
|
|
|
toolbarData = { |
|
|
@ -465,7 +465,7 @@ module.exports = function attachDebugger (screen, connection) { |
|
|
|
|
|
|
|
|
|
|
|
let drawTime = Math.round((drawData.endTime - drawData.startTime) * 100) / 100 |
|
|
|
let drawTime = Math.round((drawData.endTime - drawData.startTime) * 100) / 100 |
|
|
|
toolbarData.drawing['Last Update'] = `${drawData.reason} (${drawTime}ms)` |
|
|
|
toolbarData.drawing['Last Update'] = `${drawData.reason} (${drawTime}ms)` |
|
|
|
toolbarData.drawing['Fancy Graphics'].checked = !!screen.layout.window.graphics |
|
|
|
toolbarData.drawing['Fancy Graphics'].checked = !!screen.layout.renderer.graphics |
|
|
|
|
|
|
|
|
|
|
|
for (let i in toolbarData) { |
|
|
|
for (let i in toolbarData) { |
|
|
|
let group = toolbarData[i] |
|
|
|
let group = toolbarData[i] |
|
|
|