final commit?
parent
23fab27f31
commit
8918819ad9
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
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_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
||||||
|
|
|
@ -124,7 +124,7 @@ void graph_t::process_mouse_drag(const blt::i32 width, const blt::i32 height)
|
||||||
{
|
{
|
||||||
auto& node = nodes[selected_node];
|
auto& node = nodes[selected_node];
|
||||||
easing.progress(8 * static_cast<float>(blt::gfx::getFrameDeltaSeconds()));
|
easing.progress(8 * static_cast<float>(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;
|
node.getPositionRef() = mouse_pos;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue