diff --git a/src/nostalgia/studio/lib/context.hpp b/src/nostalgia/studio/lib/context.hpp index 8b3da135..93754d11 100644 --- a/src/nostalgia/studio/lib/context.hpp +++ b/src/nostalgia/studio/lib/context.hpp @@ -15,4 +15,4 @@ struct StudioContext { Project *project = nullptr; }; -} \ No newline at end of file +} diff --git a/src/nostalgia/studio/studioapp.cpp b/src/nostalgia/studio/studioapp.cpp index 00c1e639..c21c31b3 100644 --- a/src/nostalgia/studio/studioapp.cpp +++ b/src/nostalgia/studio/studioapp.cpp @@ -98,10 +98,13 @@ void StudioUI::drawMenu() noexcept { } ImGui::Separator(); if (ImGui::MenuItem("Copy", "Ctrl+C")) { + m_acitveEditor->copy(); } if (ImGui::MenuItem("Cut", "Ctrl+X")) { + m_acitveEditor->cut(); } if (ImGui::MenuItem("Paste", "Ctrl+V")) { + m_acitveEditor->paste(); } ImGui::EndMenu(); }