diff --git a/SakuraCore/src/Layer.cpp b/SakuraCore/src/Layer.cpp index 036c6ea..a3cb165 100644 --- a/SakuraCore/src/Layer.cpp +++ b/SakuraCore/src/Layer.cpp @@ -9,10 +9,6 @@ Layer::Layer(const std::string &name, bool isActive) : m_LayerName(name), m_isAc void Layer::QueueTransition(std::unique_ptr toLayer) { auto &layerStack = Application::Get().GetLayerStack(); - // TODO: redo this based on the event video - // basically handle it like the other layer stuff - // put it into a vector and go over the list at the end of the application loop - auto &layerStack = Application::Get().m_LayerStack; LayerCommand command; command.action = LayerAction::Transition; @@ -20,12 +16,5 @@ void Layer::QueueTransition(std::unique_ptr toLayer) { command.newLayer = std::move(toLayer); layerStack.SubmitCommand(std::move(command)); - - // for (auto &layer : layerStack) { - // if (layer.get() == this) { - // layer = std::move(toLayer); - // return; - // } - // } } } // namespace SakuraVNE