too many buttons
This commit is contained in:
parent
7e63692f60
commit
e4e92f9af3
|
@ -892,15 +892,11 @@ void FurnaceGUI::drawSampleList(bool asChild) {
|
||||||
doAction(GUI_ACTION_SAMPLE_LIST_PREVIEW);
|
doAction(GUI_ACTION_SAMPLE_LIST_PREVIEW);
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
ImGui::SetTooltip("Preview");
|
ImGui::SetTooltip("Preview (right click to stop)");
|
||||||
}
|
}
|
||||||
ImGui::SameLine();
|
if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) {
|
||||||
if (ImGui::Button(ICON_FA_VOLUME_OFF "##StopSampleL")) {
|
|
||||||
doAction(GUI_ACTION_SAMPLE_LIST_STOP_PREVIEW);
|
doAction(GUI_ACTION_SAMPLE_LIST_STOP_PREVIEW);
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered()) {
|
|
||||||
ImGui::SetTooltip("Stop preview");
|
|
||||||
}
|
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
pushDestColor();
|
pushDestColor();
|
||||||
if (ImGui::Button(ICON_FA_TIMES "##SampleDelete")) {
|
if (ImGui::Button(ICON_FA_TIMES "##SampleDelete")) {
|
||||||
|
|
Loading…
Reference in a new issue