Merge remote-tracking branch 'refs/remotes/origin/main'
commit
096f00d770
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(graphs VERSION 0.0.19)
|
project(graphs VERSION 0.0.20)
|
||||||
|
|
||||||
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)
|
||||||
|
|
|
@ -612,7 +612,7 @@ void update(const blt::gfx::window_data& data)
|
||||||
auto current_sim = main_graph.getSimulatorName();
|
auto current_sim = main_graph.getSimulatorName();
|
||||||
const char* items[] = {"Eades", "Fruchterman & Reingold"};
|
const char* items[] = {"Eades", "Fruchterman & Reingold"};
|
||||||
static int item_current = 0;
|
static int item_current = 0;
|
||||||
ImGui::ListBox("", &item_current, items, IM_ARRAYSIZE(items), 4);
|
ImGui::ListBox("##SillyBox", &item_current, items, 2, 2);
|
||||||
|
|
||||||
if (strcmp(items[item_current], current_sim.c_str()) != 0)
|
if (strcmp(items[item_current], current_sim.c_str()) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue