Bigger template aoe

This commit is contained in:
2025-09-26 19:39:53 +02:00
parent 3ac725c2aa
commit bfb9ed54d9

View File

@@ -3468,7 +3468,7 @@ class VideoEditor:
# Check if click is within 10px of template center # Check if click is within 10px of template center
distance = ((raw_x - center_x) ** 2 + (raw_y - center_y) ** 2) ** 0.5 distance = ((raw_x - center_x) ** 2 + (raw_y - center_y) ** 2) ** 0.5
if distance <= 10: if distance <= 40:
self.remove_template(i) # Pass index instead of ID self.remove_template(i) # Pass index instead of ID
self.save_state() self.save_state()
return return