Refactor adjustment nodes to use ParameterSlider for enhanced UI and functionality

- Replaced SliderRow components with ParameterSlider in color-adjust, curves, detail-adjust, and light-adjust nodes for improved user interaction.
- Updated minimum width and height configurations for adjustment nodes to accommodate new slider designs.
- Enhanced node templates and default dimensions to reflect the changes in adjustment node sizes.
- Improved state management and data handling for slider values in adjustment nodes.
This commit is contained in:
Matthias
2026-04-02 23:29:48 +02:00
parent f5f9753288
commit b0a844d3a3
9 changed files with 464 additions and 166 deletions

View File

@@ -65,29 +65,29 @@ export const CANVAS_NODE_TEMPLATES = [
{
type: "curves",
label: "Kurven",
width: 280,
height: 460,
width: 320,
height: 660,
defaultData: {},
},
{
type: "color-adjust",
label: "Farbe",
width: 280,
height: 560,
width: 320,
height: 800,
defaultData: {},
},
{
type: "light-adjust",
label: "Licht",
width: 280,
height: 620,
width: 320,
height: 920,
defaultData: {},
},
{
type: "detail-adjust",
label: "Detail",
width: 280,
height: 620,
width: 320,
height: 880,
defaultData: {},
},
{