updated
This commit is contained in:
@@ -496,7 +496,7 @@
|
||||
|
||||
function frontContent(fb_height, fb_width, fb_x, fb_y){
|
||||
var objects = frontCanvas.getObjects();
|
||||
console.log(objects)
|
||||
// console.log(objects)
|
||||
try{
|
||||
var p_number = '{{ $order_item_array[0]->Number }}';
|
||||
for (var j in objects) {
|
||||
@@ -845,8 +845,9 @@
|
||||
//Your scale factor is 2.172 (1086/500 = 2.172) or 2.13 (639/300 = 2.13) to be more precise.
|
||||
// X = WIDTH and Y = HEIGHT
|
||||
if(side == "Front" || side == "Back"){
|
||||
var SCALE_FACTOR_X = actualSizeX / 222;
|
||||
var SCALE_FACTOR_Y = actualSizeY / 380;
|
||||
// width="157.936px" height="173.727px" // hoodie
|
||||
var SCALE_FACTOR_X = actualSizeX / 157.936;
|
||||
var SCALE_FACTOR_Y = actualSizeY / 173.727;
|
||||
}
|
||||
|
||||
if(side == "Right" || side == "Left"){
|
||||
|
||||
Reference in New Issue
Block a user