fix document naming and file dialogs preset, add touch scroll, flip thumbnail, scroll gesture and wheel for sidebar
This commit is contained in:
@@ -87,3 +87,11 @@ kEventResult NodeTextInput::handle_event(Event* e)
|
||||
}
|
||||
return kEventResult::Consumed;
|
||||
}
|
||||
|
||||
void NodeTextInput::set_text(const std::string& s)
|
||||
{
|
||||
if (m_text)
|
||||
m_text->set_text(s.c_str());
|
||||
m_string = s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user