improve termination sequence on windows, use patterns instead of textures as directory name

This commit is contained in:
2019-02-20 11:48:17 +01:00
parent 7faab0124d
commit 033c39aef5
8 changed files with 81 additions and 58 deletions

View File

@@ -405,6 +405,9 @@ void Node::mouse_capture()
void Node::mouse_release()
{
if (!parent)
return;
auto& c = root()->current_mouse_capture;
auto& s = root()->m_capture_stack;
@@ -427,7 +430,10 @@ void Node::mouse_release()
void Node::key_capture()
{
root()->current_key_capture = this;
if (!parent)
return;
root()->current_key_capture = this;
m_key_captured = true;
}