Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: chrome/browser/resources/vr_shell/vr_shell_ui.js

Issue 2696273002: Can more conveniently set easing from JS. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/vr_shell/vr_shell_ui.js
diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui.js b/chrome/browser/resources/vr_shell/vr_shell_ui.js
index 283434ce81bb13e6ccda3378b6c023d0dad0d6f9..d7d407d2cc403fcb7ffcd94fd01109b42e469393 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.js
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.js
@@ -99,6 +99,7 @@ var vrShellUi = (function() {
ui.addAnimation(anim);
anim = new api.Animation(this.elementId, ANIM_DURATION);
anim.setSize(height * this.SCREEN_RATIO, height);
+ anim.setEasing(new api.InEasing(2));
cjgrant 2017/02/16 14:51:47 Was this meant to be included?
tiborg 2017/02/16 17:30:49 Oops, no. Removed.
ui.addAnimation(anim);
}

Powered by Google App Engine
This is Rietveld 408576698