Skip to content

Commit ef96a58

Browse files
author
FalkWolsky
committed
Fix the fix in Lowcoder Design - was a mistake
1 parent c86afa3 commit ef96a58

File tree

1 file changed

+2
-2
lines changed
  • client/packages/lowcoder-design/src/components/colorSelect

1 file changed

+2
-2
lines changed

client/packages/lowcoder-design/src/components/colorSelect/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const ColorSelect = (props: ColorSelectProps) => {
4545
<div style={{ position: "relative" }}>
4646
<RgbaStringColorPicker color={pickerColor.current} onChange={throttleChange} />
4747
<AlphaDiv color={color?.substring(0, 7)}>
48-
<BackDiv color={alphaOfRgba(toRGBA(color))}></BackDiv>
48+
<BackDiv $color={alphaOfRgba(toRGBA(color))}></BackDiv>
4949
</AlphaDiv>
5050
</div>
5151
<ConstantDiv>
@@ -66,7 +66,7 @@ export const ColorSelect = (props: ColorSelectProps) => {
6666
}
6767
>
6868
<ColorBlock $color={color?.substring(0, 7)}>
69-
<BackDiv color={alphaOfRgba(toRGBA(color))}></BackDiv>
69+
<BackDiv $color={alphaOfRgba(toRGBA(color))}></BackDiv>
7070
</ColorBlock>
7171
</Popover>
7272
);

0 commit comments

Comments
 (0)