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:
@@ -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: {},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user