From 5082c3bafb5eee60a7488f5b2078e0b24f14c3fb Mon Sep 17 00:00:00 2001 From: Annwan Date: Fri, 27 Sep 2024 07:12:54 +0200 Subject: [PATCH] Fix indentation + Add Readme --- README.md | 8 ++++++++ src/Application.cppm | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..05b0bb4 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# FFmpeGraph + +Graph editor for ffmpeg + +## Building + +Use CMake with Ninja. + diff --git a/src/Application.cppm b/src/Application.cppm index b3c5538..9e463f9 100644 --- a/src/Application.cppm +++ b/src/Application.cppm @@ -84,8 +84,8 @@ void Application::ProcessEvents() { for (auto& node : nodes) { if (node->pos_x < x and x < node->pos_x + node->Width() and node->pos_y < y and y < node->pos_y + node->Height()) { - selected_node = node.get(); - break; + selected_node = node.get(); + break; } } }