mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-02-20 20:41:21 +01:00
no this is the actual fix
This commit is contained in:
parent
f692d1bec1
commit
9d629c15f8
@ -284,9 +284,9 @@ void EditorState::displayChartList() {
|
||||
ImGui::TextDisabled("Level"); ImGui::NextColumn();
|
||||
ImGui::TextDisabled("Note Count"); ImGui::NextColumn();
|
||||
ImGui::Separator();
|
||||
for (auto tuple : fumen.Charts) {
|
||||
for (auto& tuple : fumen.Charts) {
|
||||
if (ImGui::Selectable(tuple.first.c_str(), selectedChart ? selectedChart->get()==tuple.second : false , ImGuiSelectableFlags_SpanAllColumns)) {
|
||||
selectedChart->get() = tuple.second;
|
||||
selectedChart = tuple.second;
|
||||
}
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text("%d",tuple.second.level); ImGui::NextColumn();
|
||||
|
Loading…
x
Reference in New Issue
Block a user