mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 17:57:57 +01:00
Fixed release build issue
This commit is contained in:
@@ -83,8 +83,6 @@ public class ApplicationNavigation
|
||||
return;
|
||||
}
|
||||
|
||||
//Debug.Assert(value is {});
|
||||
|
||||
_focused = value;
|
||||
|
||||
FocusedChanged?.Invoke (null, EventArgs.Empty);
|
||||
|
||||
@@ -289,7 +289,7 @@ public class Border : Adornment
|
||||
// BUGBUG: See https://github.com/gui-cs/Terminal.Gui/issues/3312
|
||||
if (!_dragPosition.HasValue && mouseEvent.Flags.HasFlag (MouseFlags.Button1Pressed))
|
||||
{
|
||||
Parent.SetFocus ();
|
||||
Parent!.SetFocus ();
|
||||
ApplicationOverlapped.BringOverlappedTopToFront ();
|
||||
|
||||
if (!Parent!.Arrangement.HasFlag (ViewArrangement.Movable)
|
||||
@@ -451,7 +451,7 @@ public class Border : Adornment
|
||||
{
|
||||
if (_dragPosition.HasValue)
|
||||
{
|
||||
if (Parent.SuperView is null)
|
||||
if (Parent!.SuperView is null)
|
||||
{
|
||||
// Redraw the entire app window.
|
||||
Application.Top!.SetNeedsDisplay ();
|
||||
|
||||
@@ -589,7 +589,6 @@ public partial class View // Focus and cross-view navigation management (TabStop
|
||||
{
|
||||
if (superViewOrParent?._previouslyFocused is { })
|
||||
{
|
||||
Debug.Assert (!superViewOrParent._previouslyFocused.WasDisposed);
|
||||
if (superViewOrParent._previouslyFocused != this)
|
||||
{
|
||||
superViewOrParent?._previouslyFocused?.SetFocus ();
|
||||
|
||||
Reference in New Issue
Block a user