Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matefun
Frontend
Commits
785f5e5c
Commit
785f5e5c
authored
Sep 20, 2018
by
Diego Rey
Browse files
Fixed speed controls
parent
dd64b11f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts
View file @
785f5e5c
...
...
@@ -354,7 +354,7 @@ export class Graph2DComponent {
* @desc Decrease Speed Animation
*/
public
decreaseSpeed
=
function
()
{
if
(
this
.
animation
.
speedX
>
0.
07
)
{
if
(
this
.
animation
.
speedX
>
0.
19
)
{
this
.
animation
.
speed
*=
1.1
;
this
.
animation
.
speedX
-=
0.1
;
this
.
pauseAnimation
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment