mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
update default filter
This commit is contained in:
committed by
psychedelicious
parent
cc27730cb4
commit
f93571f7ef
@@ -68,7 +68,7 @@ export class CanvasEntityFilterer extends CanvasModuleBase {
|
||||
/**
|
||||
* The config for the filter.
|
||||
*/
|
||||
$filterConfig = atom<FilterConfig>(IMAGE_FILTERS.canny_edge_detection.buildDefaults());
|
||||
$filterConfig = atom<FilterConfig>(IMAGE_FILTERS.adjust_image.buildDefaults());
|
||||
|
||||
/**
|
||||
* The initial filter config, used to reset the filter config.
|
||||
@@ -212,7 +212,7 @@ export class CanvasEntityFilterer extends CanvasModuleBase {
|
||||
return filter.buildDefaults();
|
||||
} else {
|
||||
// Otherwise, used the default filter
|
||||
return IMAGE_FILTERS.canny_edge_detection.buildDefaults();
|
||||
return IMAGE_FILTERS.adjust_image.buildDefaults();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -202,7 +202,7 @@ export const IMAGE_FILTERS: { [key in FilterConfig['type']]: ImageFilterData<key
|
||||
type: 'adjust_image',
|
||||
buildDefaults: () => ({
|
||||
type: 'adjust_image',
|
||||
channel: 'Value (HSV)',
|
||||
channel: 'Luminosity (LAB)',
|
||||
value: 1,
|
||||
scale_values: false,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user