fixed parts circle

This commit is contained in:
2025-07-29 09:29:27 +02:00
parent 14d91b6d6e
commit 13e73abc5d
14 changed files with 1501 additions and 9 deletions
+1 -1
View File
@@ -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();