Add TODO for Canvas ContextMenu palette

This commit is contained in:
scawful
2024-01-22 20:44:57 -05:00
parent 5c9cded866
commit e4c2cdf8a3

View File

@@ -144,17 +144,17 @@ void Canvas::DrawContextMenu() {
} }
ImGui::EndMenu(); ImGui::EndMenu();
} }
ImGui::Separator();
if (ImGui::BeginMenu("Palette")) { // TODO: Add a menu item for selecting the palette
for (const auto each : editor::kPaletteGroupAddressesKeys) { // ImGui::Separator();
if (ImGui::BeginMenu(each)) { // if (ImGui::BeginMenu("Palette")) {
// Apply the palette to the current bitmap // for (const auto each : editor::kPaletteGroupAddressesKeys) {
// if (ImGui::BeginMenu(each)) {
} // }
ImGui::EndMenu(); // ImGui::EndMenu();
} // }
ImGui::EndMenu(); // ImGui::EndMenu();
} // }
ImGui::EndPopup(); ImGui::EndPopup();
} }