mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 20:43:09 +00:00
BFRES : Fix setting param values for vec3/vec4 with colors as 0
This commit is contained in:
parent
e9321b9dc8
commit
c42d5e4441
2 changed files with 0 additions and 9 deletions
|
@ -80,10 +80,6 @@ namespace FirstPlugin.Forms
|
|||
|
||||
if (IsColor)
|
||||
{
|
||||
barSlider1.Minimum = 0;
|
||||
barSlider2.Minimum = 0;
|
||||
barSlider3.Minimum = 0;
|
||||
|
||||
var SetColor = Color.FromArgb(255,
|
||||
Utils.FloatToIntClamp(values[0]),
|
||||
Utils.FloatToIntClamp(values[1]),
|
||||
|
|
|
@ -121,11 +121,6 @@ namespace FirstPlugin.Forms
|
|||
{
|
||||
if (IsColor)
|
||||
{
|
||||
barSlider1.Minimum = 0;
|
||||
barSlider2.Minimum = 0;
|
||||
barSlider3.Minimum = 0;
|
||||
barSlider4.Minimum = 0;
|
||||
|
||||
colorPB.BackColor = Color.FromArgb(
|
||||
Utils.FloatToIntClamp(255),
|
||||
Utils.FloatToIntClamp(values[0]),
|
||||
|
|
Loading…
Reference in a new issue