Browse Source
Use as instead of is with variable
5940-dragdrop-modal
Dominik Matijaca
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/TopLevel.cs
|
|
@ -286,7 +286,7 @@ namespace Avalonia.Controls |
|
|
IMouseDevice IInputRoot.MouseDevice => PlatformImpl?.MouseDevice; |
|
|
IMouseDevice IInputRoot.MouseDevice => PlatformImpl?.MouseDevice; |
|
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
/// <inheritdoc/>
|
|
|
bool? IInputRoot.IsPlatformEnabled => PlatformImpl is IWindowImpl windowImpl? windowImpl.IsEnabled : (bool?)null; |
|
|
bool? IInputRoot.IsPlatformEnabled => (PlatformImpl as IWindowImpl)?.IsEnabled; |
|
|
|
|
|
|
|
|
void IWeakSubscriber<ResourcesChangedEventArgs>.OnEvent(object sender, ResourcesChangedEventArgs e) |
|
|
void IWeakSubscriber<ResourcesChangedEventArgs>.OnEvent(object sender, ResourcesChangedEventArgs e) |
|
|
{ |
|
|
{ |
|
|
|