mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Fixed keyboard focus when navigating workspace files
This commit is contained in:
parent
0301552d2f
commit
10da44e341
2 changed files with 10 additions and 3 deletions
|
@ -120,8 +120,15 @@ namespace IDE.ui
|
|||
|
||||
protected override bool WantsUnfocus()
|
||||
{
|
||||
if ((mWidgetWindow != null) && (mWidgetWindow.mOverWidget is PanelSplitter))
|
||||
return false;
|
||||
if (mWidgetWindow != null)
|
||||
{
|
||||
if (mWidgetWindow.mOverWidget is PanelSplitter)
|
||||
return false;
|
||||
if (mWidgetWindow.mOverWidget is TabbedView.TabButton)
|
||||
return false;
|
||||
if (mWidgetWindow.mOverWidget is DarkTabbedView.DarkTabButtonClose)
|
||||
return false;
|
||||
}
|
||||
|
||||
return base.WantsUnfocus();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue