aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-28 01:10:01 -0400
committerbobzel <zzzman@gmail.com>2020-08-28 01:10:01 -0400
commit4d1c5e5060db6aafc0689f0c83a757def1d30ca1 (patch)
treed600f89510e358ba86969acaca17210da193770d /src
parent170aab27e71e761e9fd4a7eecbdba2eff4a3bc27 (diff)
added willChange:transform to workaround the visual artifiact of zooming out from a very scaled collection in a presenation trail
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index aae324b07..7ba8694ed 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -1636,7 +1636,8 @@ class CollectionFreeFormViewPannableContents extends React.Component<CollectionF
return <div className={freeformclass}
style={{
transform: `translate(${cenx}px, ${ceny}px) scale(${zoom}) translate(${panx}px, ${pany}px)`,
- transition: this.props.transition
+ transition: this.props.transition,
+ willChange: "transform"
}}>
{this.props.children()}
{this.presPaths}