diff options
author | zotlabs <mike@macgirvin.com> | 2020-01-14 13:34:56 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2020-01-14 13:34:56 -0800 |
commit | 293d411efb28b8f20a0208e3c52883e9fbb8cea7 (patch) | |
tree | a8b0af66015815d56342daf8301ab5ae095eda0a /library/cropperjs/src/js/defaults.js | |
parent | 2a287e6def5ab54037222c963ab0875faf62fc1a (diff) | |
parent | d96f4340e80207a29a5c1c49cae8c25e3934d5ae (diff) | |
download | volse-hubzilla-293d411efb28b8f20a0208e3c52883e9fbb8cea7.tar.gz volse-hubzilla-293d411efb28b8f20a0208e3c52883e9fbb8cea7.tar.bz2 volse-hubzilla-293d411efb28b8f20a0208e3c52883e9fbb8cea7.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'library/cropperjs/src/js/defaults.js')
-rw-r--r-- | library/cropperjs/src/js/defaults.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/library/cropperjs/src/js/defaults.js b/library/cropperjs/src/js/defaults.js index aa469e73a..ce6ab9698 100644 --- a/library/cropperjs/src/js/defaults.js +++ b/library/cropperjs/src/js/defaults.js @@ -1,6 +1,4 @@ -import { - DRAG_MODE_CROP, -} from './constants'; +import { DRAG_MODE_CROP } from './constants'; export default { // Define the view mode of the cropper @@ -9,6 +7,9 @@ export default { // Define the dragging mode of the cropper dragMode: DRAG_MODE_CROP, // 'crop', 'move' or 'none' + // Define the initial aspect ratio of the crop box + initialAspectRatio: NaN, + // Define the aspect ratio of the crop box aspectRatio: NaN, |