FTXUI/cmake
Andrey Zimin 358f886fab
Clamp selected_ on list resize for Radiobox/Menu/Toggle (#298)
fix: https://github.com/ArthurSonzogni/FTXUI/issues/296#issue-1092343846

When the list in Radiobox/Menu/Toggle is resized, clamp the |selected_| values so that it stays within bounds.
Clamping is executed in Render() and in OnEvent()

Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2022-01-06 22:38:32 +01:00
..
ftxui_benchmark.cmake Update CMake usage to enable C++17 (#156) 2021-07-17 09:16:02 +02:00
ftxui_export.cmake Cleanup. (#132) 2021-06-26 15:14:27 +02:00
ftxui_fuzzer.cmake Add general fuzzer. (#159) 2021-07-17 15:53:25 +02:00
ftxui_install.cmake Rename library for vcpkg. (#140) 2021-07-06 02:10:35 +02:00
ftxui_package.cmake Merge workflows. (#234) 2021-10-17 20:10:07 +02:00
ftxui_set_options.cmake Merge Documentation and Emscripten workflow (#166) 2021-07-25 19:31:45 +02:00
ftxui_test.cmake Clamp selected_ on list resize for Radiobox/Menu/Toggle (#298) 2022-01-06 22:38:32 +01:00
iwyu.cmake Cleanup. (#132) 2021-06-26 15:14:27 +02:00