|
|
@ -186,9 +186,9 @@ export default class Viewport { |
|
|
this.statsControls = statsControls |
|
|
this.statsControls = statsControls |
|
|
statsControls.showPanel(0) |
|
|
statsControls.showPanel(0) |
|
|
statsControls.dom.style.position = 'absolute' |
|
|
statsControls.dom.style.position = 'absolute' |
|
|
statsControls.dom.style.top = '2px' |
|
|
statsControls.dom.style.top = '0' |
|
|
statsControls.dom.style.left = '0' |
|
|
statsControls.dom.style.left = '0' |
|
|
viewerDom.appendChild(statsControls.dom) |
|
|
viewerDom.parentElement.parentElement.appendChild(statsControls.dom) |
|
|
$(statsControls.dom).children().css('height', '28px') |
|
|
$(statsControls.dom).children().css('height', '28px') |
|
|
|
|
|
|
|
|
this.animate() |
|
|
this.animate() |
|
|
|