Loading package.json +1 −1 Original line number Diff line number Diff line { "name": "@pdn-certic/vue-jama", "version": "0.5.5", "version": "0.6.0", "scripts": { "serve": "rimraf -rf ./node_modules/.cache/vue-loader && vue-cli-service serve", "build": "vue-cli-service build", Loading src/components/editors/ImageResourceEditor.vue +4 −2 Original line number Diff line number Diff line Loading @@ -363,12 +363,14 @@ export default { cropWidth() { let c = Number(this.cropLeft) + Number(this.cropRight); return this.maxWidth - (c * this.scale) let imgw = this.rotatedImageDimensions.width * this.rotationScale; return imgw - (c * this.scale) }, cropHeight() { let c = Number(this.cropTop) + Number(this.cropBottom); return (this.rotatedImageDimensions.height * this.maxHeight / this.rotatedImageDimensions.width) - (c * this.scale) let imgh = this.rotatedImageDimensions.height * this.rotationScale; return imgh - (c * this.scale) }, getCropBoxCSS() { Loading Loading
package.json +1 −1 Original line number Diff line number Diff line { "name": "@pdn-certic/vue-jama", "version": "0.5.5", "version": "0.6.0", "scripts": { "serve": "rimraf -rf ./node_modules/.cache/vue-loader && vue-cli-service serve", "build": "vue-cli-service build", Loading
src/components/editors/ImageResourceEditor.vue +4 −2 Original line number Diff line number Diff line Loading @@ -363,12 +363,14 @@ export default { cropWidth() { let c = Number(this.cropLeft) + Number(this.cropRight); return this.maxWidth - (c * this.scale) let imgw = this.rotatedImageDimensions.width * this.rotationScale; return imgw - (c * this.scale) }, cropHeight() { let c = Number(this.cropTop) + Number(this.cropBottom); return (this.rotatedImageDimensions.height * this.maxHeight / this.rotatedImageDimensions.width) - (c * this.scale) let imgh = this.rotatedImageDimensions.height * this.rotationScale; return imgh - (c * this.scale) }, getCropBoxCSS() { Loading