diff src/dad.js @ 8:969d5980b375

add lists
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 23 Apr 2023 23:55:37 -0600
parents 4d699321068f
children eee8862be4c7
line wrap: on
line diff
--- a/src/dad.js	Sun Apr 23 20:46:17 2023 -0600
+++ b/src/dad.js	Sun Apr 23 23:55:37 2023 -0600
@@ -126,6 +126,8 @@
 		let rect = original.getBoundingClientRect();
 		dragging.style.left = `${rect.x}px`;
 		dragging.style.top = `${rect.y}px`;
+		dragging.style.width = `${rect.width}px`;
+		dragging.style.heigh = `${rect.heigh}px`;
 		original.parentNode.appendChild(dragging);
 	}