This commit is contained in:
朱子楚\zhuzi 2023-08-24 22:04:51 +08:00
parent ba565e1ee8
commit 2818b84860
2 changed files with 10 additions and 6 deletions

View File

@ -114,9 +114,11 @@ Rectangle {
}
}
function showPopup() {
if(current){
container.currentDate = current
container.date = current
container.updateMouth(current)
}
var pos = control.mapToItem(null, 0, 0)
if(d.window.height>pos.y+control.height+container.height){
popup.y = control.height

View File

@ -114,9 +114,11 @@ Rectangle {
}
}
function showPopup() {
if(current){
container.currentDate = current
container.date = current
container.updateMouth(current)
}
var pos = control.mapToItem(null, 0, 0)
if(d.window.height>pos.y+control.height+container.height){
popup.y = control.height