diff options
author | bobzel <zzzman@gmail.com> | 2021-09-02 12:14:20 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-09-02 12:14:20 -0400 |
commit | 5c6946fd211f6b0ee5d860ade968f4353344974d (patch) | |
tree | 420859fc5935369b05e527989e2432abd9ee97fd /src/client/views/PropertiesButtons.tsx | |
parent | 4d058ec6e2aaa20f240de5d65680e396f035f36e (diff) |
fixed autoHeight for formattedText to work better with stacking and contentfitting views.
Diffstat (limited to 'src/client/views/PropertiesButtons.tsx')
-rw-r--r-- | src/client/views/PropertiesButtons.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx index 0bcdbac19..9fe2122e6 100644 --- a/src/client/views/PropertiesButtons.tsx +++ b/src/client/views/PropertiesButtons.tsx @@ -218,8 +218,8 @@ export class PropertiesButtons extends React.Component<{}, {}> { {toggle(this.autoHeightButton, { display: !isText && !isStacking && !isTree ? "none" : "" })} {toggle(this.maskButton, { display: !isInk ? "none" : "" })} {toggle(this.chromeButton, { display: !isCollection || isNovice ? "none" : "" })} - {toggle(this.gridButton, { display: isCollection ? "" : "none" })} - {toggle(this.snapButton, { display: isCollection ? "" : "none" })} + {toggle(this.gridButton, { display: !isCollection ? "none" : "" })} + {toggle(this.snapButton, { display: !isCollection ? "none" : "" })} {toggle(this.clustersButton, { display: !isFreeForm ? "none" : "" })} {toggle(this.panButton, { display: !isFreeForm ? "none" : "" })} {toggle(this.perspectiveButton, { display: !isCollection || isNovice ? "none" : "" })} |