fix: make more specific (@Nuckyz)

This commit is contained in:
Lewis Crichton 2023-11-28 19:52:41 +00:00
parent e3aab2b864
commit 39860bd05c
No known key found for this signature in database

View file

@ -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=");