1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-20 09:25:33 +02:00

enhance(frontend/image-effector): tweak colorAdjust fx

This commit is contained in:
syuilo
2025-06-15 09:25:57 +09:00
parent b33eeb1366
commit 3dbfd80d65
3 changed files with 35 additions and 27 deletions

View File

@@ -19,6 +19,8 @@ type ParamTypeToPrimitive = {
type ImageEffectorFxParamDefs = Record<string, {
type: keyof ParamTypeToPrimitive;
default: any;
label?: string;
toViewValue?: (v: any) => string;
}>;
export function defineImageEffectorFx<ID extends string, PS extends ImageEffectorFxParamDefs, US extends string[]>(fx: ImageEffectorFx<ID, PS, US>) {