Skip to content

Commit

Permalink
chore: added hardcoded values to remove cropper border
Browse files Browse the repository at this point in the history
  • Loading branch information
RohanPunjani committed Jun 15, 2024
1 parent 4919f92 commit a8a00a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/cropper.astro
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ import Base from "../components/base.astro";

isSelecting = false;
invoke("update_crop_area", {
area: [startX, startY, endX, endY],
// area: [startX, startY, endX, endY],
area: [startX + 2, startY + 2, endX - 7, endY - 7],
});
}
});
Expand Down

0 comments on commit a8a00a3

Please sign in to comment.