fix: make more specific (@Nuckyz)
This commit is contained in:
parent
e3aab2b864
commit
39860bd05c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ interface ColorPickerProps {
|
||||||
showEyeDropper?: boolean;
|
showEyeDropper?: boolean;
|
||||||
onChange(value: number | null): void;
|
onChange(value: number | null): void;
|
||||||
}
|
}
|
||||||
const ColorPicker = findComponentByCodeLazy<ColorPickerProps>(".Messages.USER_SETTINGS_PROFILE_COLOR_SELECT_COLOR");
|
const ColorPicker = findComponentByCodeLazy<ColorPickerProps>(".Messages.USER_SETTINGS_PROFILE_COLOR_SELECT_COLOR", ".BACKGROUND_PRIMARY)");
|
||||||
|
|
||||||
// TinyColor is completely unmangled and it's duplicated in two modules! Fun!
|
// TinyColor is completely unmangled and it's duplicated in two modules! Fun!
|
||||||
const TinyColor: tinycolor.Constructor = findByCodeLazy("this._gradientType=");
|
const TinyColor: tinycolor.Constructor = findByCodeLazy("this._gradientType=");
|
||||||
|
|
Loading…
Reference in a new issue