mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-10-01 17:29:07 +08:00
Multiple fixes: signed/unsigned, etc... (#600)
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
@@ -278,7 +278,7 @@ const std::vector<std::vector<std::vector<std::string>>> elements = {
|
||||
/// every "step".
|
||||
/// @ingroup dom
|
||||
Element spinner(int charset_index, size_t image_index) {
|
||||
if (charset_index == 0) {
|
||||
if (charset_index <= 0) {
|
||||
const int progress_size = 40;
|
||||
image_index %= progress_size;
|
||||
if (image_index > progress_size / 2) {
|
||||
|
Reference in New Issue
Block a user