diff --git a/src/views/ViewController.cpp b/src/views/ViewController.cpp index dc737fb06..ddb09f383 100644 --- a/src/views/ViewController.cpp +++ b/src/views/ViewController.cpp @@ -11,7 +11,7 @@ #include "../animations/LambdaAnimation.h" ViewController::ViewController(Window* window) - : GuiComponent(window), mCurrentView(nullptr), mCamera(Eigen::Affine3f::Identity()), mFadeOpacity(1), mLockInput(false) + : GuiComponent(window), mCurrentView(nullptr), mCamera(Eigen::Affine3f::Identity()), mFadeOpacity(0), mLockInput(false) { // slot 1 so the fade carries over setAnimation(new LambdaAnimation([&] (float t) { mFadeOpacity = lerp(1.0f, 0.0f, t); }, 900), nullptr, false, 1);