Skip to content

Commit

Permalink
Update arc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CobaltIII authored Dec 29, 2024
1 parent dbad8a8 commit 494b776
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manim/mobject/geometry/arc.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ def has_start_tip(self) -> bool:
# Getters

def pop_tips(self) -> VGroup:
"""Removes the tips of the arrow,
if there are no tips to return, does nothing
"""
if not self.has_tip() and not self.has_start_tip():
return self.get_group_class()()
start, end = self.get_start_and_end()
result = self.get_group_class()()
if self.has_tip():
Expand Down

0 comments on commit 494b776

Please sign in to comment.