Skip to content

Commit

Permalink
feat: add option to remove DJ prompt in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ohitstom committed Nov 27, 2024
1 parent db9a174 commit 25e362a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Comfy/assets/_snippets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
}
}

&:has(#main.Remove-DJ-Prompt) {
._EFIA9HjgZxxgTSZzQcg>*:not(:first-child) {
display: none;
}
}

&:has(#main.Compact-Context-Menu) {
.main-contextMenu-menu .main-popper-arrow {
Expand All @@ -51,7 +56,7 @@
border-right: 1px solid var(--spice-button-disabled) !important;
border-bottom: 1px solid var(--spice-button-disabled) !important;
}

.main-rootlist-rootlistDivider,
.main-contextMenu-dividerBefore::before,
.main-contextMenu-dividerAfter::after,
Expand Down Expand Up @@ -595,4 +600,4 @@
}
}
}
}
}
7 changes: 7 additions & 0 deletions Comfy/theme.script.js
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,13 @@ todo:
],
collapseItems: true
},
{
type: Toggle,
name: "Remove-DJ-Prompt",
title: "Remove your DJ prompt",
desc: "Hides the prompt 'Click to start listening' in the library",
defaultVal: true
},
{
type: Toggle,
name: "Compact-Context-Menu",
Expand Down

0 comments on commit 25e362a

Please sign in to comment.