mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-28 19:40:18 +00:00
usabilitybug fix
This commit is contained in:
parent
194c6eceb6
commit
286d866ddb
3 changed files with 9 additions and 1 deletions
|
@ -49,6 +49,7 @@ public:
|
|||
};
|
||||
|
||||
void draw(void) override;
|
||||
void setIndex(size_t i);
|
||||
void push_back(color_t color, color_t colorMessage, const std::string& message) override;
|
||||
void resetIndex(void) override;
|
||||
void updateSelection(void) override;
|
||||
|
|
|
@ -100,7 +100,7 @@ void Gui::index(entryType_t type, size_t i)
|
|||
}
|
||||
else
|
||||
{
|
||||
backupList->index(i);
|
||||
backupList->setIndex(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,13 @@
|
|||
|
||||
#include "scrollable.hpp"
|
||||
|
||||
void Scrollable::setIndex(size_t i)
|
||||
{
|
||||
IScrollable::index(i);
|
||||
mHid->index(mIndex);
|
||||
mHid->page(mPage);
|
||||
}
|
||||
|
||||
void Scrollable::resetIndex(void)
|
||||
{
|
||||
mHid->index(0);
|
||||
|
|
Loading…
Reference in a new issue