Pre Merge pull request !177 from xlys999/N/A

This commit is contained in:
xlys999 2023-07-03 14:10:01 +00:00 committed by Gitee
commit 3223a1f4e5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -159,9 +159,11 @@ const dragCanvas = (e: any) => {
const canvasBox = () => {
const layoutDom = document.getElementById('go-chart-edit-layout')
if (layoutDom) {
//
const scrollW = 20
return {
height: layoutDom.clientHeight - 25,
width: layoutDom.clientWidth
height: layoutDom.clientHeight - scrollW,
width: layoutDom.clientWidth - scrollW
}
}
return {