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
|
||||
CircularReveal{
|
||||
id: reveal
|
||||
target: window.contentItem
|
||||
target: window.containerItem()
|
||||
anchors.fill: parent
|
||||
onAnimationFinished:{
|
||||
//动画结束后释放资源
|
||||
@ -263,7 +263,7 @@ FluWindow {
|
||||
return
|
||||
}
|
||||
loader_reveal.sourceComponent = com_reveal
|
||||
var target = window.contentItem
|
||||
var target = window.containerItem()
|
||||
var pos = button.mapToItem(target,0,0)
|
||||
var mouseX = pos.x
|
||||
var mouseY = pos.y
|
||||
|
@ -275,7 +275,7 @@ Window {
|
||||
sourceComponent: window.useSystemAppBar ? undefined : com_app_bar
|
||||
}
|
||||
Item{
|
||||
id:layout_content
|
||||
id: layout_content
|
||||
anchors{
|
||||
top: loader_app_bar.bottom
|
||||
left: parent.left
|
||||
@ -294,7 +294,6 @@ Window {
|
||||
id:info_bar
|
||||
root: layout_container
|
||||
}
|
||||
|
||||
FluLoader{
|
||||
id:loader_border
|
||||
anchors.fill: parent
|
||||
@ -364,4 +363,7 @@ Window {
|
||||
function deleteLater(){
|
||||
FluTools.deleteLater(window)
|
||||
}
|
||||
function containerItem(){
|
||||
return layout_container
|
||||
}
|
||||
}
|
||||
|
@ -363,4 +363,7 @@ Window {
|
||||
function deleteLater(){
|
||||
FluTools.deleteLater(window)
|
||||
}
|
||||
function containerItem(){
|
||||
return layout_container
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user