mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 13:49:08 +08:00
fix bug
This commit is contained in:
parent
649edbea0d
commit
fdaaa85541
@ -234,7 +234,7 @@ FluWindow {
|
|||||||
id: com_reveal
|
id: com_reveal
|
||||||
CircularReveal{
|
CircularReveal{
|
||||||
id: reveal
|
id: reveal
|
||||||
target: window.contentItem
|
target: window.containerItem()
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onAnimationFinished:{
|
onAnimationFinished:{
|
||||||
//动画结束后释放资源
|
//动画结束后释放资源
|
||||||
@ -263,7 +263,7 @@ FluWindow {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
loader_reveal.sourceComponent = com_reveal
|
loader_reveal.sourceComponent = com_reveal
|
||||||
var target = window.contentItem
|
var target = window.containerItem()
|
||||||
var pos = button.mapToItem(target,0,0)
|
var pos = button.mapToItem(target,0,0)
|
||||||
var mouseX = pos.x
|
var mouseX = pos.x
|
||||||
var mouseY = pos.y
|
var mouseY = pos.y
|
||||||
|
@ -275,7 +275,7 @@ Window {
|
|||||||
sourceComponent: window.useSystemAppBar ? undefined : com_app_bar
|
sourceComponent: window.useSystemAppBar ? undefined : com_app_bar
|
||||||
}
|
}
|
||||||
Item{
|
Item{
|
||||||
id:layout_content
|
id: layout_content
|
||||||
anchors{
|
anchors{
|
||||||
top: loader_app_bar.bottom
|
top: loader_app_bar.bottom
|
||||||
left: parent.left
|
left: parent.left
|
||||||
@ -294,7 +294,6 @@ Window {
|
|||||||
id:info_bar
|
id:info_bar
|
||||||
root: layout_container
|
root: layout_container
|
||||||
}
|
}
|
||||||
|
|
||||||
FluLoader{
|
FluLoader{
|
||||||
id:loader_border
|
id:loader_border
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@ -364,4 +363,7 @@ Window {
|
|||||||
function deleteLater(){
|
function deleteLater(){
|
||||||
FluTools.deleteLater(window)
|
FluTools.deleteLater(window)
|
||||||
}
|
}
|
||||||
|
function containerItem(){
|
||||||
|
return layout_container
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -363,4 +363,7 @@ Window {
|
|||||||
function deleteLater(){
|
function deleteLater(){
|
||||||
FluTools.deleteLater(window)
|
FluTools.deleteLater(window)
|
||||||
}
|
}
|
||||||
|
function containerItem(){
|
||||||
|
return layout_container
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user