mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-04 22:58:45 +00:00
CogCommonUI: Add a new plugin to fix CommonUI blocking cog shortcuts (F1, F2, ...)
Reference this plugin where other cog modules are added. This plugin uses a CommonUI ActionRouter to let Cog receives the shortcuts it needs. If you already have an Action Router, you can call FCogImguiInputHelper::IsTopPriorityKey to know if the key event to should handled or not.
This commit is contained in:
@@ -54,7 +54,7 @@ void FCogEngineWindow_CommandBindings::RenderContent()
|
||||
"Disable the existing Unreal command shortcuts mapped to same shortcuts Cog is using. Typically, if the F1 shortcut is used to toggle Inputs, the Unreal wireframe command will get disabled."
|
||||
))
|
||||
{
|
||||
GetOwner()->DisableConflictingCommands();
|
||||
GetOwner()->OnShortcutsDefined();
|
||||
}
|
||||
|
||||
for (FKeyBind& KeyBind : PlayerInput->DebugExecBindings)
|
||||
|
||||
Reference in New Issue
Block a user