add: Introduce increment and decrement buttons for workflow's seeds
parent
cd0bc2747d
commit
16e087f9c6
|
|
@ -1035,6 +1035,32 @@ function renderInput(
|
|||
console.log(`${name}: ${event.target.value}`)
|
||||
}}
|
||||
></sp-textfield>
|
||||
<button
|
||||
style={{
|
||||
width: '26px',
|
||||
}}
|
||||
className="btnSquare"
|
||||
onClick={() => {
|
||||
inputs[name] = (
|
||||
BigInt(inputs[name]) - BigInt(1)
|
||||
).toString()
|
||||
}}
|
||||
>
|
||||
{'<'}
|
||||
</button>
|
||||
<button
|
||||
style={{
|
||||
width: '26px',
|
||||
}}
|
||||
className="btnSquare"
|
||||
onClick={() => {
|
||||
inputs[name] = (
|
||||
BigInt(inputs[name]) + BigInt(1)
|
||||
).toString()
|
||||
}}
|
||||
>
|
||||
{'>'}
|
||||
</button>
|
||||
<sp-checkbox
|
||||
title="randomize seed before generation"
|
||||
value={store.data.is_random_seed[node_id]}
|
||||
|
|
|
|||
Loading…
Reference in New Issue