diff options
author | bobzel <zzzman@gmail.com> | 2024-09-01 12:55:59 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-09-01 12:55:59 -0400 |
commit | a958577d4c27b276aa37484e3f895e196138b17c (patch) | |
tree | 6a9ca7b34ce3de02130b533dabc5f201f3527186 /src/client/views/PropertiesButtons.tsx | |
parent | b235e116167a06b6d36e2962dd3f610839f18974 (diff) |
consolidated image resampling. fixed importing zipped workspace.
Diffstat (limited to 'src/client/views/PropertiesButtons.tsx')
-rw-r--r-- | src/client/views/PropertiesButtons.tsx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx index f346d4ba8..f96a4a255 100644 --- a/src/client/views/PropertiesButtons.tsx +++ b/src/client/views/PropertiesButtons.tsx @@ -246,26 +246,6 @@ export class PropertiesButtons extends React.Component { // ); // } - // @computed get freezeThumb() { - // return this.propertyToggleBtn( - // 'FreezeThumb', - // '_thumb-frozen', - // on => `${on ? 'Freeze' : 'Unfreeze'} thumbnail`, - // on => 'snowflake', - // (dv, doc) => { - // if (doc['thumb-frozen']) doc['thumb-frozen'] = undefined; - // else { - // document.body.focus(); // so that we can access the clipboard without an error - // setTimeout(() => - // pasteImageBitmap((data_url: any, error: any) => { - // error && console.log(error); - // data_url && Utils.convertDataUri(data_url, doc[Id] + '-thumb-frozen', true).then(returnedfilename => (doc['thumb-frozen'] = new ImageField(returnedfilename))); - // }) - // ); - // } - // } - // ); - // } @computed get snapButton() { // THESE ARE NOT COMING return this.propertyToggleBtn( |