mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Code Cleanup
This commit is contained in:
@@ -571,13 +571,8 @@ public static partial class Application
|
||||
/// <returns><see langword="true"/> if a view positioned the cursor and the position is visible.</returns>
|
||||
internal static bool PositionCursor (View view)
|
||||
{
|
||||
if (view is null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Find the most focused view and position the cursor there.
|
||||
View mostFocused = view.MostFocused;
|
||||
View mostFocused = view?.MostFocused;
|
||||
|
||||
if (mostFocused is null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user