add sample add add color

This commit is contained in:
Eknous-P 2023-08-26 16:15:40 +04:00
parent 19f7376337
commit a7eb62a5d6

View file

@ -793,9 +793,11 @@ void FurnaceGUI::drawSampleList(bool asChild) {
began=ImGui::Begin("Samples",&sampleListOpen,globalWinFlags);
}
if (began) {
pushAddColor();
if (ImGui::Button(ICON_FA_FILE "##SampleAdd")) {
doAction(GUI_ACTION_SAMPLE_LIST_ADD);
}
popAddColor();
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Add");
}