fixed parts circle
This commit is contained in:
@@ -323,7 +323,7 @@ $(document).ready(function () {
|
||||
if (selectedPartNumber !== null) {
|
||||
const img = $("#samplePhoto");
|
||||
const canvas = document.getElementById("photoCanvas");
|
||||
const rect = canvas.getBoundingRect();
|
||||
const rect = canvas.getBoundingClientRect();
|
||||
const container = img.parent();
|
||||
const containerWidth = container.width();
|
||||
const containerHeight = container.height();
|
||||
|
||||
Reference in New Issue
Block a user