File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11/* 
2-  * vue-croppa v1.3.1  
2+  * vue-croppa v1.3.2  
33 * https://github.com/zhanziyang/vue-croppa 
44 *  
55 * Copyright (c) 2018 zhanziyang 
@@ -1319,11 +1319,13 @@ var component = { render: function render() {
13191319        this . imgData . height  =  imgHeight  /  scaleRatio ; 
13201320        this . imgData . width  =  this . outputWidth ; 
13211321        this . imgData . startY  =  - ( this . imgData . height  -  this . outputHeight )  /  2 ; 
1322+         this . imgData . startX  =  0 ; 
13221323      }  else  { 
13231324        scaleRatio  =  imgHeight  /  this . outputHeight ; 
13241325        this . imgData . width  =  imgWidth  /  scaleRatio ; 
13251326        this . imgData . height  =  this . outputHeight ; 
13261327        this . imgData . startX  =  - ( this . imgData . width  -  this . outputWidth )  /  2 ; 
1328+         this . imgData . startY  =  0 ; 
13271329      } 
13281330    } , 
13291331    _naturalSize : function  _naturalSize ( )  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments