mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): make clipSkip activeLabel "Clip Skip"
we know its active if it displays
This commit is contained in:
parent
74557c8b6e
commit
a8fc75b6d0
@ -11,7 +11,7 @@ const selector = createSelector(
|
|||||||
(state: RootState) => {
|
(state: RootState) => {
|
||||||
const clipSkip = state.generation.clipSkip;
|
const clipSkip = state.generation.clipSkip;
|
||||||
return {
|
return {
|
||||||
activeLabel: clipSkip > 0 ? `Clip Skip Active` : undefined,
|
activeLabel: clipSkip > 0 ? 'Clip Skip' : undefined,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
defaultSelectorOptions
|
defaultSelectorOptions
|
||||||
|
Loading…
Reference in New Issue
Block a user