Bigger template aoe
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user