Skip to content

Commit c09a413

Browse files
committed
修复歌词菜单弹出位置问题
1 parent ce6f3f2 commit c09a413

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderer/utils/compositions/useMenuLocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default ({ visible, location, onHide }) => {
1616
const handleShow = () => {
1717
show = true
1818
menuStyles.opacity = 1
19-
menuStyles.transform = `scaleY(1) translate(${handleGetOffsetXY(location.x, location.y)})`
19+
menuStyles.transform = `scaleY(1) translate(${handleGetOffsetXY(location.value.x, location.value.y)})`
2020
}
2121
const handleHide = () => {
2222
menuStyles.opacity = 0

0 commit comments

Comments
 (0)