Skip to content

Commit b36644e

Browse files
committed
Fix ToolSeparators not using dark theme
1 parent 84435f0 commit b36644e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/kirigami_ui/EditorToolbar.qml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ ToolBar {
242242
//}
243243
ToolSeparator {
244244
contentItem.visible: root.width>458 ? anchorsRow.y === playbackRow.y : anchorsRow.y === playbackRow.y || anchorsRow.y === advancedButtonsRow.y
245+
Material.theme: Material.Dark
245246
}
246247
}
247248
Row {
@@ -279,6 +280,7 @@ ToolBar {
279280
}
280281
ToolSeparator {
281282
contentItem.visible: !root.__isMobile && root.width>458 ? playbackRow.y === undoRedoRow.y || playbackRow.y === advancedButtonsRow.y : playbackRow.y === alignmentRowMobile.y
283+
Material.theme: Material.Dark
282284
}
283285
}
284286
Row {
@@ -303,6 +305,7 @@ ToolBar {
303305
}
304306
ToolSeparator {
305307
contentItem.visible: undoRedoRow.y === editRow.y
308+
Material.theme: Material.Dark
306309
}
307310
}
308311
Row {
@@ -340,6 +343,7 @@ ToolBar {
340343
}
341344
ToolSeparator {
342345
contentItem.visible: mobileOrSmallScreen ? editRow.y === alignmentRowMobile.y : editRow.y === formatRow.y
346+
Material.theme: Material.Dark
343347
}
344348
}
345349
Row {
@@ -423,6 +427,7 @@ ToolBar {
423427
//}
424428
ToolSeparator {
425429
contentItem.visible: alignmentRowMobile.y === formatRow.y
430+
Material.theme: Material.Dark
426431
}
427432
}
428433
Row {
@@ -514,6 +519,7 @@ ToolBar {
514519
//}
515520
ToolSeparator {
516521
contentItem.visible: formatRow.y === fontRow.y
522+
Material.theme: Material.Dark
517523
}
518524
}
519525
Row {
@@ -668,6 +674,7 @@ ToolBar {
668674
}
669675
ToolSeparator {
670676
contentItem.visible: mobileOrSmallScreen ? fontRow.y === advancedButtonsRow.y : fontRow.y === alignmentRowDesktop.y
677+
Material.theme: Material.Dark
671678
}
672679
}
673680
Row {
@@ -730,6 +737,7 @@ ToolBar {
730737
//}
731738
ToolSeparator {
732739
contentItem.visible: alignmentRowDesktop.y === advancedButtonsRow.y
740+
Material.theme: Material.Dark
733741
}
734742
}
735743
Row {

0 commit comments

Comments
 (0)