MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / fullScreen

Function fullScreen

src/pages/Workspace/index.jsx:328–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

326 } catch { }
327 }
328 function fullScreen() {
329 // 点击右下角全屏按钮
330 document.getElementById('work-frame').style.left = '60px'
331 document.getElementById('work-frame').style.top = '60px'
332 zoomChange(127000 / (basicProperty.width || basicWidth))
333 }
334 function zoomChange(value) {
335 // 让iframe 的宽高也改变 作用为当显示不全时显示滚动条
336 const changeWidth = (basicProperty.width || basicWidth) * (value / 100)

Callers 1

initTemplateFunction · 0.85

Calls 1

zoomChangeFunction · 0.85

Tested by

no test coverage detected