Skip to content

When TAStudio is focused, keybinds that include Alt don't work #3584

@YoshiRulz

Description

@YoshiRulz

The default keybind for "Delete Branch" is Alt+Delete, causing some confusion.

Cause appears to be this:

AllowInput allowInput = MainFormInputAllowedCallback(false);
foreach (var ie in _newEvents)
{
//events are swallowed in some cases:
if ((ie.LogicalButton.Modifiers & LogicalButton.MASK_ALT) is not 0U && ShouldSwallow(MainFormInputAllowedCallback(true), ie))
continue;

yieldAlt => ActiveForm switch
{
null => Config.AcceptBackgroundInput // none of our forms are focused, check the background input config
? Config.AcceptBackgroundInputControllerOnly
? AllowInput.OnlyController
: AllowInput.All
: AllowInput.None,
TAStudio when yieldAlt => AllowInput.None,

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions