From 0008aa0a6cae251ef43d163f267147719c4fdd53 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Sun, 30 Sep 2018 05:43:57 +0000 Subject: [PATCH] Comment --- src/components/scene-preview-camera.js | 2 +- src/react-components/ui-root.js | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/scene-preview-camera.js b/src/components/scene-preview-camera.js index d8ed97a68..a6e715691 100644 --- a/src/components/scene-preview-camera.js +++ b/src/components/scene-preview-camera.js @@ -33,7 +33,7 @@ AFRAME.registerComponent("scene-preview-camera", { tick: function() { let t = (new Date().getTime() - this.startTime) / (1000.0 * this.data.duration); - t = (t * t) / (2 * (t * t - t) + 1); + t = (t * t) / (2 * (t * t - t) + 1); // Simple beizer smoothing const from = this.backwards ? this.targetPoint : this.startPoint; const to = this.backwards ? this.startPoint : this.targetPoint; diff --git a/src/react-components/ui-root.js b/src/react-components/ui-root.js index f85061074..ee45a77f0 100644 --- a/src/react-components/ui-root.js +++ b/src/react-components/ui-root.js @@ -11,12 +11,7 @@ import entryStyles from "../assets/stylesheets/entry.scss"; import { lang, messages } from "../utils/i18n"; import AutoExitWarning from "./auto-exit-warning"; -import { - TwoDEntryButton, - DeviceEntryButton, - GenericEntryButton, - SafariEntryButton -} from "./entry-buttons.js"; +import { TwoDEntryButton, DeviceEntryButton, GenericEntryButton, SafariEntryButton } from "./entry-buttons.js"; import { ProfileInfoHeader } from "./profile-info-header.js"; import ProfileEntryPanel from "./profile-entry-panel"; import HelpDialog from "./help-dialog.js"; -- GitLab