Fix output log window to properly handle copy and other input events
This commit is contained in:
@@ -127,6 +127,11 @@ namespace FlaxEngine.GUI
|
||||
/// </summary>
|
||||
protected bool _changeCursor = true;
|
||||
|
||||
/// <summary>
|
||||
/// True if always return true as default for key events, otherwise won't consume them.
|
||||
/// </summary>
|
||||
protected bool _consumeAllKeyDownEvents = true;
|
||||
|
||||
/// <summary>
|
||||
/// Event fired when text gets changed
|
||||
/// </summary>
|
||||
@@ -1542,7 +1547,7 @@ namespace FlaxEngine.GUI
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return _consumeAllKeyDownEvents;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user