diff --git a/CHANGELOG.md b/CHANGELOG.md index 935926ed..850558b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ ## [Unreleased] +### Fixed +- Fixed buttons wrong size while image is downloading ([support#369]). + +[support#369]: https://github.com/pybricks/support/issues/369 + ## [1.1.0] - 2021-12-16 ### Changed diff --git a/src/toolbar/ActionButton.tsx b/src/toolbar/ActionButton.tsx index e6a75bca..58c7f709 100644 --- a/src/toolbar/ActionButton.tsx +++ b/src/toolbar/ActionButton.tsx @@ -1,7 +1,14 @@ // SPDX-License-Identifier: MIT // Copyright (c) 2020-2021 The Pybricks Authors -import { Button, IRef, Intent, Spinner, useHotkeys } from '@blueprintjs/core'; +import { + Button, + IRef, + Intent, + Spinner, + SpinnerSize, + useHotkeys, +} from '@blueprintjs/core'; import { Tooltip2 } from '@blueprintjs/popover2'; import { useI18n } from '@shopify/react-i18n'; import React, { useMemo } from 'react'; @@ -93,6 +100,8 @@ const ActionButton: React.FC = (props) => { ) : ( {props.id} = (props) => { ) : (