Skip to content

Commit

Permalink
Revert "change input type for gradient height"
Browse files Browse the repository at this point in the history
This reverts commit 026f870.
  • Loading branch information
ohitstom committed Feb 18, 2024
1 parent 029d97f commit 1b2bb2b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Comfy/theme.script.js
Original file line number Diff line number Diff line change
Expand Up @@ -823,18 +823,17 @@ torefactor:
},
{
type: Input,
inputType: "text",
inputType: "number",
name: "Tracklist-Gradient-Height",
title: "Gradient Height",
defaultVal: "232px",
defaultVal: "232",
desc: "Change the height of the gradient (the transparent part of the tracklist)",
tippy: Spicetify.React.createElement(
Spicetify.React.Fragment,
null,
Spicetify.React.createElement("h4", null, "Set to 0 to disable the gradient"),
Spicetify.React.createElement("h4", null, "Set to -webkit-fill-available to cover the whole tracklist")
Spicetify.React.createElement("h4", null, "Set to 0 to disable the gradient!")
),
callback: value => document.documentElement.style.setProperty("--tracklist-gradient-height", value || "")
callback: value => document.documentElement.style.setProperty("--tracklist-gradient-height", value ? value + "px" : "")
},
{
type: Input,
Expand Down Expand Up @@ -865,7 +864,7 @@ torefactor:
title: "Smooth Progress Bar",
desc: "Makes the progress bar ease its movement giving the appearance of a smoother transition",
defaultVal: true
},
},
{
type: Slider,
name: "Hoverable-Timers-Snippet",
Expand Down

0 comments on commit 1b2bb2b

Please sign in to comment.