修复歌词菜单弹出位置问题

pull/930/merge
lyswhut 2022-04-16 14:41:58 +08:00
parent ce6f3f23c6
commit c09a4131db
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ export default ({ visible, location, onHide }) => {
const handleShow = () => {
show = true
menuStyles.opacity = 1
menuStyles.transform = `scaleY(1) translate(${handleGetOffsetXY(location.x, location.y)})`
menuStyles.transform = `scaleY(1) translate(${handleGetOffsetXY(location.value.x, location.value.y)})`
}
const handleHide = () => {
menuStyles.opacity = 0