mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Merge pull request #905 from Ultimaker/snappier_camera_animation
Make camera animation feel snappier
This commit is contained in:
commit
b0c54bb26a
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ class CameraAnimation(QVariantAnimation):
|
|||
def __init__(self, parent = None):
|
||||
super().__init__(parent)
|
||||
self._camera_tool = None
|
||||
self.setDuration(500)
|
||||
self.setEasingCurve(QEasingCurve.InOutQuad)
|
||||
self.setDuration(300)
|
||||
self.setEasingCurve(QEasingCurve.OutQuad)
|
||||
|
||||
def setCameraTool(self, camera_tool):
|
||||
self._camera_tool = camera_tool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue