mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Calendar is no longer a Widget, moved to Modules/Calendar/Calendar.qml
- Using a NLoader - Got a display bug with DayOfWeekRow!
This commit is contained in:
@@ -12,13 +12,8 @@ NClock {
|
||||
target: root
|
||||
}
|
||||
|
||||
NCalendar {
|
||||
id: calendar
|
||||
visible: false
|
||||
}
|
||||
|
||||
onEntered: function () {
|
||||
if (!calendar.visible) {
|
||||
if (!calendar.isLoaded) {
|
||||
tooltip.show()
|
||||
}
|
||||
}
|
||||
@@ -26,7 +21,8 @@ NClock {
|
||||
tooltip.hide()
|
||||
}
|
||||
onClicked: function () {
|
||||
calendar.visible = !calendar.visible
|
||||
tooltip.hide()
|
||||
calendar.isLoaded = !calendar.isLoaded
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user