interaction

This commit is contained in:
Garry Ing
2021-03-15 21:18:42 -04:00
parent 44be8dd327
commit e5b12b1d92
3 changed files with 13 additions and 3 deletions

View File

@ -166,7 +166,7 @@ if (typeof window.graphData !== 'undefined') {
const element = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
element.setAttribute('width', graphWrapper.getBoundingClientRect().width)
element.setAttribute('height', window.innerHeight * 0.8)
element.classList.add('absolute', 'vh-100')
element.classList.add('absolute', 'vh-100', 'grab', 'grabbing')
graphWrapper.appendChild(element)
const reportWindowSize = () => {