mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 12:35:11 +00:00
GUI: fix 0.5-pixel error in unified assets
This commit is contained in:
parent
363bc4be68
commit
823d64e68c
1 changed files with 9 additions and 3 deletions
|
@ -534,9 +534,11 @@ void FurnaceGUI::drawInsList(bool asChild) {
|
|||
if (settings.unifiedDataView) {
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableNextColumn();
|
||||
if (ImGui::Selectable(ICON_FA_TASKS " Instruments",lastAssetType==0)) {
|
||||
if (ImGui::Selectable(ICON_FA_TASKS "##Instruments",lastAssetType==0)) {
|
||||
lastAssetType=0;
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("Instruments");
|
||||
ImGui::Indent();
|
||||
}
|
||||
|
||||
|
@ -602,18 +604,22 @@ void FurnaceGUI::drawInsList(bool asChild) {
|
|||
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableNextColumn();
|
||||
if (ImGui::Selectable(ICON_FA_AREA_CHART " Wavetables",lastAssetType==1)) {
|
||||
if (ImGui::Selectable(ICON_FA_AREA_CHART "##Wavetables",lastAssetType==1)) {
|
||||
lastAssetType=1;
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("Wavetables");
|
||||
ImGui::Indent();
|
||||
actualWaveList();
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableNextColumn();
|
||||
if (ImGui::Selectable(ICON_FA_VOLUME_UP " Samples",lastAssetType==2)) {
|
||||
if (ImGui::Selectable(ICON_FA_VOLUME_UP "##Samples",lastAssetType==2)) {
|
||||
lastAssetType=2;
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("Samples");
|
||||
ImGui::Indent();
|
||||
actualSampleList();
|
||||
ImGui::Unindent();
|
||||
|
|
Loading…
Reference in a new issue