This commit is contained in:
朱子楚\zhuzi
2023-12-19 20:15:48 +08:00
parent 61659b5e31
commit fde55d254c
5 changed files with 136 additions and 33 deletions

View File

@ -240,7 +240,7 @@ FluWindow {
id:com_reveal
CircularReveal{
id:reveal
target:window.contentItem
target:window.layoutContainer()
anchors.fill: parent
onAnimationFinished:{
//动画结束后释放资源
@ -269,7 +269,7 @@ FluWindow {
return
}
loader_reveal.sourceComponent = com_reveal
var target = window.contentItem
var target = window.layoutContainer()
var pos = button.mapToItem(target,0,0)
var mouseX = pos.x
var mouseY = pos.y

View File

@ -243,7 +243,7 @@ FluWindow {
id:com_reveal
CircularReveal{
id:reveal
target:window.contentItem
target:window.layoutContainer()
anchors.fill: parent
onAnimationFinished:{
//动画结束后释放资源
@ -272,7 +272,7 @@ FluWindow {
return
}
loader_reveal.sourceComponent = com_reveal
var target = window.contentItem
var target = window.layoutContainer()
var pos = button.mapToItem(target,0,0)
var mouseX = pos.x
var mouseY = pos.y