don't show "double click to expand" when it's not possible (#4030)

This commit is contained in:
llama 2025-05-22 21:21:08 +08:00 committed by GitHub
parent 420cd237df
commit 16c5eaf00a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -303,7 +303,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
/>
<HandleLabel>
{#if isSizeConstrained}
{#if isSizeConstrained && !shrinkingDisabled}
<span>{`(${tr.editingDoubleClickToExpand()})`}</span>
{:else}
<span>{actualWidth}&times;{actualHeight}</span>