From c7d2d6177661b5940662ad4b5d1c6e5993cfbd49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Tue, 12 Nov 2024 08:26:36 -0500 Subject: [PATCH] [ui] Use spinboxes in ISF processes rather than 2D pad --- src/plugins/score-plugin-gfx/Gfx/Filter/Process.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/plugins/score-plugin-gfx/Gfx/Filter/Process.cpp b/src/plugins/score-plugin-gfx/Gfx/Filter/Process.cpp index 6eb73cf849..76d182d525 100644 --- a/src/plugins/score-plugin-gfx/Gfx/Filter/Process.cpp +++ b/src/plugins/score-plugin-gfx/Gfx/Filter/Process.cpp @@ -254,9 +254,13 @@ void Model::setupIsf(const isf::descriptor& desc) std::copy_n(v.min->begin(), 2, min.begin()); if(v.max) std::copy_n(v.max->begin(), 2, max.begin()); - auto port = new Process::XYSlider{ - min, max, init, QString::fromStdString(input.name), Id(i), - &self}; + auto port = new Process::XYSpinboxes{min, + max, + init, + false, + QString::fromStdString(input.name), + Id(i), + &self}; self.m_inlets.push_back(port); self.controlAdded(port->id());