Patch ScaleDropdownOption width bug
This commit is contained in:
Родитель
fcd94e293e
Коммит
b974075217
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@thematic/fluent",
|
||||
"version": "5.0.0",
|
||||
"version": "5.0.1",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
|
|
@ -23,7 +23,7 @@ export const ScaleDropdownOption: FC<ScaleDropdownOptionProps> = ({
|
|||
const { key } = option
|
||||
const Palette = usePaletteComponent(key as string)
|
||||
const [width, height] = useSafeCollapseDimensions(paletteWidth, paletteHeight)
|
||||
const scale = useScale(option.key as string, paletteWidth)
|
||||
const scale = useScale(option.key as string, width)
|
||||
const cStyle = useMemo(
|
||||
() => ({
|
||||
...containerStyle,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@thematic/webapp",
|
||||
"title": "Thematic",
|
||||
"version": "3.0.0",
|
||||
"version": "3.0.1",
|
||||
"homepage": "https://microsoft.github.io/thematic/",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
|
|
Загрузка…
Ссылка в новой задаче