Skip to content

Commit adee23e

Browse files
committed
Fix broken color references
1 parent 6f3b38e commit adee23e

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

src/view/qml/Dialogs/NoteFrequencyDialog.qml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,26 @@ Dialog {
5555
Text {
5656
text: qsTr("Note")
5757
font.bold: true
58-
color: Constants.mainMenuTextColor
58+
color: themeService.mainMenuTextColor
5959
Layout.preferredWidth: 140
6060
}
6161
Text {
6262
text: qsTr("Octave")
6363
font.bold: true
64-
color: Constants.mainMenuTextColor
64+
color: themeService.mainMenuTextColor
6565
Layout.preferredWidth: 80
6666
}
6767
Text {
6868
text: qsTr("Frequency (Hz)")
6969
font.bold: true
70-
color: Constants.mainMenuTextColor
70+
color: themeService.mainMenuTextColor
7171
Layout.preferredWidth: 200
7272
horizontalAlignment: Text.AlignRight
7373
}
7474
Text {
7575
text: qsTr("MIDI")
7676
font.bold: true
77-
color: Constants.mainMenuTextColor
77+
color: themeService.mainMenuTextColor
7878
Layout.preferredWidth: 80
7979
horizontalAlignment: Text.AlignRight
8080
}
@@ -105,26 +105,26 @@ Dialog {
105105

106106
Text {
107107
text: modelData.noteLabel
108-
color: Constants.mainMenuTextColor
108+
color: themeService.mainMenuTextColor
109109
Layout.preferredWidth: 140
110110
verticalAlignment: Text.AlignVCenter
111111
}
112112
Text {
113113
text: String(modelData.octave)
114-
color: Constants.mainMenuTextColor
114+
color: themeService.mainMenuTextColor
115115
Layout.preferredWidth: 80
116116
verticalAlignment: Text.AlignVCenter
117117
}
118118
Text {
119119
text: Number(modelData.frequency).toFixed(2)
120-
color: Constants.mainMenuTextColor
120+
color: themeService.mainMenuTextColor
121121
Layout.preferredWidth: 200
122122
horizontalAlignment: Text.AlignRight
123123
verticalAlignment: Text.AlignVCenter
124124
}
125125
Text {
126126
text: String(modelData.midi)
127-
color: Constants.mainMenuTextColor
127+
color: themeService.mainMenuTextColor
128128
Layout.preferredWidth: 80
129129
horizontalAlignment: Text.AlignRight
130130
verticalAlignment: Text.AlignVCenter

src/view/qml/ToolBar/EditorControls.qml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Row {
3030
Text {
3131
text: qsTr("POS")
3232
font.bold: true
33-
color: Constants.mainToolBarTextColor
33+
color: themeService.mainToolBarTextColor
3434
anchors.verticalCenter: parent.verticalCenter
3535
}
3636
SpinBox {
@@ -59,7 +59,7 @@ Row {
5959
Text {
6060
text: qsTr("PAT")
6161
font.bold: true
62-
color: Constants.mainToolBarTextColor
62+
color: themeService.mainToolBarTextColor
6363
anchors.verticalCenter: parent.verticalCenter
6464
}
6565
SpinBox {
@@ -86,7 +86,7 @@ Row {
8686
Text {
8787
text: qsTr("LEN")
8888
font.bold: true
89-
color: Constants.mainToolBarTextColor
89+
color: themeService.mainToolBarTextColor
9090
anchors.verticalCenter: parent.verticalCenter
9191
}
9292
SpinBox {
@@ -209,7 +209,7 @@ Row {
209209
Text {
210210
text: qsTr("PAT")
211211
font.bold: true
212-
color: Constants.mainToolBarTextColor
212+
color: themeService.mainToolBarTextColor
213213
anchors.verticalCenter: parent.verticalCenter
214214
}
215215
SpinBox {
@@ -238,7 +238,7 @@ Row {
238238
Text {
239239
text: qsTr("LEN")
240240
font.bold: true
241-
color: Constants.mainToolBarTextColor
241+
color: themeService.mainToolBarTextColor
242242
anchors.verticalCenter: parent.verticalCenter
243243
}
244244
SpinBox {
@@ -284,7 +284,7 @@ Row {
284284
Text {
285285
text: qsTr("STEP")
286286
font.bold: true
287-
color: Constants.mainToolBarTextColor
287+
color: themeService.mainToolBarTextColor
288288
anchors.verticalCenter: parent.verticalCenter
289289
}
290290
SpinBox {
@@ -312,7 +312,7 @@ Row {
312312
Text {
313313
text: qsTr("VEL")
314314
font.bold: true
315-
color: Constants.mainToolBarTextColor
315+
color: themeService.mainToolBarTextColor
316316
anchors.verticalCenter: parent.verticalCenter
317317
}
318318
SpinBox {
@@ -340,7 +340,7 @@ Row {
340340
Text {
341341
text: qsTr("OCT")
342342
font.bold: true
343-
color: Constants.mainToolBarTextColor
343+
color: themeService.mainToolBarTextColor
344344
anchors.verticalCenter: parent.verticalCenter
345345
}
346346
SpinBox {
@@ -385,7 +385,7 @@ Row {
385385
Text {
386386
text: qsTr("BPM")
387387
font.bold: true
388-
color: Constants.mainToolBarTextColor
388+
color: themeService.mainToolBarTextColor
389389
anchors.verticalCenter: parent.verticalCenter
390390
}
391391
SpinBox {
@@ -414,7 +414,7 @@ Row {
414414
Text {
415415
text: qsTr("LBP")
416416
font.bold: true
417-
color: Constants.mainToolBarTextColor
417+
color: themeService.mainToolBarTextColor
418418
anchors.verticalCenter: parent.verticalCenter
419419
}
420420
SpinBox {

src/view/qml/ToolBar/MainToolBar.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Rectangle {
99
gradient: Gradient {
1010
GradientStop {
1111
position: 0.0
12-
color: Constants.mainToolBarGradientStartColor
12+
color: themeService.mainToolBarGradientStartColor
1313
}
1414
GradientStop {
1515
position: 1.0
16-
color: Constants.mainToolBarGradientStopColor
16+
color: themeService.mainToolBarGradientStopColor
1717
}
1818
}
1919
ScrollView {

src/view/qml/ToolBar/Separator.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import ".."
44
Rectangle {
55
height: parent.height
66
width: 1
7-
color: Constants.mainToolBarSeparatorColor
7+
color: themeService.mainToolBarSeparatorColor
88
}

0 commit comments

Comments
 (0)