mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Make camera animation feel snappier
It no longer eases into the animation, so it feels as if it reacts more immediately.
This commit is contained in:
parent
557044b11c
commit
b45d091641
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,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