We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述 背景组件(lbp-background)的辅助线位置错误。
追踪到下面的代码中,获取到的背景尺寸是错误的。
calcVHLine (isPointMove) { const uuid = this.editingElement.uuid const referElements = this.elements.filter(e => e.uuid !== uuid) let referElementsXCoords = [] let referElementsYCoords = [] referElements.forEach(e => { const width = e.commonStyle.width // 读到的背景宽度是100,实际是320,下面几行读到的都是错误的。 const left = e.commonStyle.left const height = e.commonStyle.height const top = e.commonStyle.top referElementsXCoords = [ ...referElementsXCoords, left, left + (width / 2), left + width ] referElementsYCoords = [ ...referElementsYCoords, top, top + (height / 2), top + height ] })
环境描述/版本信息 (请完成如下信息)
如何复现 复现步骤
预期结果
背景辅助线位置应该正确
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
背景组件(lbp-background)的辅助线位置错误。
追踪到下面的代码中,获取到的背景尺寸是错误的。
环境描述/版本信息 (请完成如下信息)
如何复现
复现步骤
预期结果
背景辅助线位置应该正确
The text was updated successfully, but these errors were encountered: