mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
[WebUI 2.2.5] Unified Canvas Alternate UI Beta (#1951)
* Fix Prompt Placeholder Text Color * Display Model Desc as tooltip in SiteHeader This'll allow the user to quickly access info like activation token for that model if they set it in the description. * Unified Canvas UI Beta * Initial Test Build * Make Snap Grid Hotkey Accessible Always
This commit is contained in:
@@ -40,6 +40,7 @@ export type IAIFullSliderProps = {
|
||||
sliderMarkRightOffset?: number;
|
||||
withInput?: boolean;
|
||||
isInteger?: boolean;
|
||||
width?: string | number;
|
||||
inputWidth?: string | number;
|
||||
inputReadOnly?: boolean;
|
||||
withReset?: boolean;
|
||||
@@ -71,6 +72,7 @@ export default function IAISlider(props: IAIFullSliderProps) {
|
||||
max = 100,
|
||||
step = 1,
|
||||
onChange,
|
||||
width = '100%',
|
||||
tooltipSuffix = '',
|
||||
withSliderMarks = false,
|
||||
sliderMarkLeftOffset = 0,
|
||||
@@ -161,6 +163,7 @@ export default function IAISlider(props: IAIFullSliderProps) {
|
||||
onMouseLeave={() => setShowTooltip(false)}
|
||||
focusThumbOnChange={false}
|
||||
isDisabled={isSliderDisabled}
|
||||
width={width}
|
||||
{...rest}
|
||||
>
|
||||
{withSliderMarks && (
|
||||
|
||||
Reference in New Issue
Block a user