GUI: use pattern font for input latch

This commit is contained in:
tildearrow 2022-04-22 01:27:27 -05:00
parent 2278c1a465
commit 9c8d122389
2 changed files with 3 additions and 2 deletions

View file

@ -32,7 +32,6 @@
- add another FM editor layout
- try to find out why does VSlider not accept keyboard input
- finish lock layout
- note input latch!
- if macros have release, note off should release them
- add "don't scroll on cursor movement" option
- add ability to select entire row when clicking on row number

View file

@ -1935,7 +1935,8 @@ void FurnaceGUI::editOptions(bool topMenu) {
}
ImGui::Text("input latch");
if (ImGui::BeginTable("opMaskTable",5,ImGuiTableFlags_Borders|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_NoHostExtendX)) {
ImGui::PushFont(patFont);
if (ImGui::BeginTable("inputLatchTable",5,ImGuiTableFlags_Borders|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_NoHostExtendX)) {
static char id[64];
ImGui::TableNextRow();
ImGui::TableNextColumn();
@ -2032,6 +2033,7 @@ void FurnaceGUI::editOptions(bool topMenu) {
ImGui::PopStyleColor();
ImGui::EndTable();
}
ImGui::PopFont();
ImGui::SameLine();
if (ImGui::Button("Set")) {
DivPattern* pat=e->song.pat[cursor.xCoarse].getPattern(e->song.orders.ord[cursor.xCoarse][curOrder],true);