improve dialog browse, wrap ui task for every Node method that modifies the children list, update the ui every time the scene tree changes, restore fps and stylus state on win, fix bucket tool, fix snapshop restore, init in ui thread
This commit is contained in:
@@ -139,7 +139,7 @@ void NodeDialogBrowse::init_list()
|
||||
auto node = new NodeDialogBrowseItem;
|
||||
node->m_manager = m_manager;
|
||||
node->init();
|
||||
node->m_text->set_text(f_name.c_str());
|
||||
node->m_text->set_text(f_name.substr(0, f_name.length() - strlen(".ppi")).c_str());
|
||||
node->m_path = f_path;
|
||||
node->m_file_name = f_name;
|
||||
node->on_selected = [&](NodeDialogBrowseItem* target) {
|
||||
|
||||
Reference in New Issue
Block a user