make js linter happy
This commit is contained in:
parent
8d46bd2483
commit
b103031f5b
1 changed files with 5 additions and 5 deletions
|
@ -484,11 +484,11 @@ editor = {
|
||||||
var fixed_x_relative = (fixed_x-left)/(right-left),
|
var fixed_x_relative = (fixed_x-left)/(right-left),
|
||||||
fixed_y_relative = (fixed_y-bottom)/(top-bottom),
|
fixed_y_relative = (fixed_y-bottom)/(top-bottom),
|
||||||
width = editor._source_image_orig_width*scale_x,
|
width = editor._source_image_orig_width*scale_x,
|
||||||
height = editor._source_image_orig_height*scale_y,
|
height = editor._source_image_orig_height*scale_y;
|
||||||
left = fixed_x-(width*fixed_x_relative),
|
left = fixed_x-(width*fixed_x_relative);
|
||||||
bottom = fixed_y-(height*fixed_y_relative),
|
bottom = fixed_y-(height*fixed_y_relative);
|
||||||
right = left+width,
|
right = left+width;
|
||||||
top = bottom+height;
|
top = bottom+height;
|
||||||
|
|
||||||
left = left.toFixed(2);
|
left = left.toFixed(2);
|
||||||
bottom = bottom.toFixed(2);
|
bottom = bottom.toFixed(2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue