fix xyosc y channel selector
This commit is contained in:
parent
05a59689c1
commit
b5d2a01557
|
@ -18,10 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gui.h"
|
#include "gui.h"
|
||||||
#include "imgui_internal.h"
|
|
||||||
#include <imgui.h>
|
|
||||||
#include "../ta-log.h"
|
|
||||||
#include "../engine/filter.h"
|
|
||||||
|
|
||||||
void FurnaceGUI::drawXYOsc() {
|
void FurnaceGUI::drawXYOsc() {
|
||||||
if (nextWindow==GUI_WINDOW_XY_OSC) {
|
if (nextWindow==GUI_WINDOW_XY_OSC) {
|
||||||
|
@ -52,7 +48,7 @@ void FurnaceGUI::drawXYOsc() {
|
||||||
ImGui::Text(_("Y Channel"));
|
ImGui::Text(_("Y Channel"));
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (ImGui::DragInt("##YChannel",&xyOscYChannelP1,1.0f,1,DIV_MAX_OUTPUTS)) {
|
if (ImGui::DragInt("##YChannel",&xyOscYChannelP1,1.0f,1,DIV_MAX_OUTPUTS)) {
|
||||||
xyOscXChannel=MIN(MAX(xyOscYChannelP1,1),DIV_MAX_OUTPUTS)-1;
|
xyOscYChannel=MIN(MAX(xyOscYChannelP1,1),DIV_MAX_OUTPUTS)-1;
|
||||||
} rightClickable
|
} rightClickable
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Checkbox(_("Invert##Y"),&xyOscYInvert);
|
ImGui::Checkbox(_("Invert##Y"),&xyOscYInvert);
|
||||||
|
|
Loading…
Reference in a new issue