mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 15:03:01 +00:00
add sample add add color
This commit is contained in:
parent
19f7376337
commit
a7eb62a5d6
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue