mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Menu of components (#131)
Allow Container::Vertical and Container::Horizontal to have an external selector, similar to Container::Tab. This is useful for implementing a menu of menu. Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
@@ -362,7 +362,7 @@ int main(int argc, const char* argv[]) {
|
||||
|
||||
bool refresh_ui_continue = true;
|
||||
std::thread refresh_ui([&] {
|
||||
while(refresh_ui_continue) {
|
||||
while (refresh_ui_continue) {
|
||||
using namespace std::chrono_literals;
|
||||
std::this_thread::sleep_for(0.05s);
|
||||
shift++;
|
||||
|
Reference in New Issue
Block a user