godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.1k stars 20.2k forks source link

Switching to RAW mode and then to RGB will change slider max value until refreshed #62894

Open KoBeWi opened 2 years ago

KoBeWi commented 2 years ago

Godot version

4.0 d26442e / 3.5

System information

Windows 10 x64

Issue description

When you change to RAW color mode, you can set a slider to some very big value. When you then switch to RGB, that slider will have a different max value. That value will stay until you change color mode again. I think it should switch back to 0-255 range as soon as you change the value to something within that range. Z5sEZ3qfr0 (the GIF is from older build)

Steps to reproduce

  1. Have some ColorPicker
  2. Change to RAW color mode
  3. Set e.g. R to 100
  4. Switch back to RGB
  5. Set R to 0
  6. You can still set R beyond 255

Minimal reproduction project

No response

akien-mga commented 1 year ago

Is this still reproducible in 4.0 RC 1?

KoBeWi commented 1 year ago

Yes.