From 8918819ad91dabf6c0d0fd4dc4c27d31989349d9 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Wed, 15 May 2024 19:44:25 -0400 Subject: [PATCH] final commit? --- CMakeLists.txt | 2 +- src/graph.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 059d026..9da2177 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(graphs VERSION 0.0.45) +project(graphs VERSION 0.0.46) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) diff --git a/src/graph.cpp b/src/graph.cpp index 876f229..1008e9c 100644 --- a/src/graph.cpp +++ b/src/graph.cpp @@ -124,7 +124,7 @@ void graph_t::process_mouse_drag(const blt::i32 width, const blt::i32 height) { auto& node = nodes[selected_node]; easing.progress(8 * static_cast(blt::gfx::getFrameDeltaSeconds())); - node.setOutlineColor(easing.apply(color::POINT_OUTLINE_COLOR, color::POINT_SELECT_COLOR)); + node.setOutlineColor(color::POINT_SELECT_COLOR); node.getPositionRef() = mouse_pos; } }