Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Add Scene.mouse_drag_point

Devin Neald0605440ef5a
diff --git a/manim/scene/scene.py b/manim/scene/scene.py
index b178746ba..7bc744657 100644
--- a/manim/scene/scene.py
+++ b/manim/scene/scene.py
@@ -1006,5 +1006,6 @@ class Scene(Container):
pass
def on_mouse_drag(self, point, d_point, buttons, modifiers):
+ self.mouse_drag_point.move_to(point)
self.camera.increment_theta(-d_point[0])
self.camera.increment_phi(d_point[1])