Closed
Description
Tested versions
- Reproducible in: v4.2.2 stable, v4.3 stable
System information
Godot v4.3.stable - macOS 15.0.0 - GLES3 (Compatibility) - AMD Radeon Pro 5300M OpenGL Engine - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads)
Issue description
Using a 0 step value and a decimal custom arrow step on a spinbox causes the displayed value in the spinbox to round incorrectly at some numbers, despite the internal value being rounded. I'm fairly sure this was working previously on both 4.2.2 and 4.3, so its possible its due to me upgrading to the newest macOS. Also reproduced with arrow steps like 0.2, 0.9, and 1.1, and in brand-new project.
Screen.Recording.2024-09-27.at.6.19.24.PM.mov
Steps to reproduce
Create a new spinbox node, set its step value to 0 and its custom arrow step to a decimal value besides 0.5. Interacting with the arrows results in the issue
Minimal reproduction project (MRP)
N/A