mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-03 02:51:46 +00:00
Matugen: fix hex_stripped for predefined color schemes
NSearchableComboBox: fix warning
This commit is contained in:
@@ -162,7 +162,8 @@ Singleton {
|
||||
function generatePalette(primaryColor, secondaryColor, tertiaryColor, errorColor, backgroundColor, outlineColor, isDarkMode) {
|
||||
const c = hex => ({
|
||||
"default": {
|
||||
"hex": hex
|
||||
"hex": hex,
|
||||
"hex_stripped": hex.replace(/^#/, "")
|
||||
}
|
||||
})
|
||||
|
||||
@@ -383,6 +384,13 @@ Singleton {
|
||||
id: generateProcess
|
||||
workingDirectory: Quickshell.shellDir
|
||||
running: false
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: {
|
||||
if (this.text) {
|
||||
Logger.i("AppThemeService", "GenerateProcess stdout:", this.text)
|
||||
}
|
||||
}
|
||||
}
|
||||
stderr: StdioCollector {
|
||||
onStreamFinished: {
|
||||
if (this.text) {
|
||||
|
||||
@@ -233,7 +233,7 @@ RowLayout {
|
||||
Layout.alignment: Qt.AlignRight
|
||||
|
||||
Repeater {
|
||||
model: badgeLocations
|
||||
model: typeof badgeLocations !== 'undefined' ? badgeLocations : []
|
||||
|
||||
delegate: NBox {
|
||||
width: Style.baseWidgetSize * 0.7
|
||||
|
||||
Reference in New Issue
Block a user