mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-02-02 19:27:38 +08:00
update
This commit is contained in:
parent
ba565e1ee8
commit
2818b84860
@ -114,9 +114,11 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function showPopup() {
|
function showPopup() {
|
||||||
container.currentDate = current
|
if(current){
|
||||||
container.date = current
|
container.currentDate = current
|
||||||
container.updateMouth(current)
|
container.date = current
|
||||||
|
container.updateMouth(current)
|
||||||
|
}
|
||||||
var pos = control.mapToItem(null, 0, 0)
|
var pos = control.mapToItem(null, 0, 0)
|
||||||
if(d.window.height>pos.y+control.height+container.height){
|
if(d.window.height>pos.y+control.height+container.height){
|
||||||
popup.y = control.height
|
popup.y = control.height
|
||||||
|
@ -114,9 +114,11 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function showPopup() {
|
function showPopup() {
|
||||||
container.currentDate = current
|
if(current){
|
||||||
container.date = current
|
container.currentDate = current
|
||||||
container.updateMouth(current)
|
container.date = current
|
||||||
|
container.updateMouth(current)
|
||||||
|
}
|
||||||
var pos = control.mapToItem(null, 0, 0)
|
var pos = control.mapToItem(null, 0, 0)
|
||||||
if(d.window.height>pos.y+control.height+container.height){
|
if(d.window.height>pos.y+control.height+container.height){
|
||||||
popup.y = control.height
|
popup.y = control.height
|
||||||
|
Loading…
Reference in New Issue
Block a user