Fix linear_gradient_gallery example slider increment.

This commit is contained in:
ArthurSonzogni 2023-08-19 13:35:56 +02:00
parent 20baaef5b8
commit 7e6b7386ce
No known key found for this signature in database
GPG Key ID: 41D98248C074CD6C

View File

@ -22,8 +22,8 @@ int main() {
std::string slider_end_text;
auto slider_angle = Slider(&slider_angle_text, &angle, 0, 360);
auto slider_start = Slider(&slider_start_text, &start, 0.f, 1.f);
auto slider_end = Slider(&slider_end_text, &end, 0.f, 1.f);
auto slider_start = Slider(&slider_start_text, &start, 0.f, 1.f, 0.05f);
auto slider_end = Slider(&slider_end_text, &end, 0.f, 1.f, 0.05f);
auto layout = Container::Vertical({
slider_angle,