Фикс: editorContent property (явное присвоение вместо биндинга на функцию), граф — pan левой кнопкой по пустому месту + lastMouseXY, календарь — точка под цифрой (dayLabel.bottom), orphan code cleanup GraphView
This commit is contained in:
@@ -96,6 +96,7 @@ Item {
|
||||
}
|
||||
|
||||
Label {
|
||||
id: dayLabel
|
||||
anchors.centerIn: parent
|
||||
visible: modelData > 0
|
||||
text: modelData
|
||||
@@ -103,15 +104,15 @@ Item {
|
||||
color: modelData > 0 ? "#222" : "#ddd"
|
||||
}
|
||||
|
||||
// Точка — есть заметка за этот день
|
||||
// Точка — есть заметка за этот день (под цифрой)
|
||||
Rectangle {
|
||||
visible: modelData > 0 && parent.hasNote
|
||||
width: 5
|
||||
height: 5
|
||||
radius: 3
|
||||
color: "#3b82f6"
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 3
|
||||
anchors.top: dayLabel.bottom
|
||||
anchors.topMargin: 1
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user