split layout.xml into multiple files loaded on demand, update changelog

This commit is contained in:
2019-09-25 22:59:04 +02:00
parent 7e732cc9b8
commit b10fa60d1b
51 changed files with 2009 additions and 1607 deletions

View File

@@ -2,6 +2,7 @@
#include "log.h"
#include "node_popup_menu.h"
#include "node_button_custom.h"
#include "app.h"
Node* NodePopupMenu::clone_instantiate() const
{
@@ -54,7 +55,8 @@ kEventResult NodePopupMenu::handle_event(Event* e)
void NodePopupMenu::added(Node* parent)
{
mouse_capture();
if (root() == App::I->layout.get(App::I->main_id))
mouse_capture();
m_mouse_ignore = false;
m_flood_events = true;
m_capture_children = false;