improve termination sequence on windows, use patterns instead of textures as directory name
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user