Skip to content

Commit d060544

Browse files
committed
Add Scene.mouse_drag_point
1 parent 05a50eb commit d060544

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manim/scene/scene.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,5 +1006,6 @@ def on_key_release(self, symbol, modifiers):
10061006
pass
10071007

10081008
def on_mouse_drag(self, point, d_point, buttons, modifiers):
1009+
self.mouse_drag_point.move_to(point)
10091010
self.camera.increment_theta(-d_point[0])
10101011
self.camera.increment_phi(d_point[1])

0 commit comments

Comments
 (0)