mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-22 10:40:00 +08:00
Fix linear_gradient_gallery example slider increment.
This commit is contained in:
parent
20baaef5b8
commit
7e6b7386ce
@ -22,8 +22,8 @@ int main() {
|
|||||||
std::string slider_end_text;
|
std::string slider_end_text;
|
||||||
|
|
||||||
auto slider_angle = Slider(&slider_angle_text, &angle, 0, 360);
|
auto slider_angle = Slider(&slider_angle_text, &angle, 0, 360);
|
||||||
auto slider_start = Slider(&slider_start_text, &start, 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);
|
auto slider_end = Slider(&slider_end_text, &end, 0.f, 1.f, 0.05f);
|
||||||
|
|
||||||
auto layout = Container::Vertical({
|
auto layout = Container::Vertical({
|
||||||
slider_angle,
|
slider_angle,
|
||||||
|
Loading…
Reference in New Issue
Block a user