Skip to content

Commit

Permalink
fix: removed assigned but never used variable (AvaloniaUI#13995)
Browse files Browse the repository at this point in the history
  • Loading branch information
workgroupengineering authored Dec 21, 2023
1 parent 447b9b9 commit 960db26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Avalonia.Native/WindowImplBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
using Avalonia.Input.Platform;
using Avalonia.Input.Raw;
using Avalonia.Native.Interop;
using Avalonia.OpenGL;
using Avalonia.Platform;
using Avalonia.Platform.Storage;
using Avalonia.Rendering;
using Avalonia.Rendering.Composition;
using Avalonia.Threading;

Expand Down Expand Up @@ -58,7 +56,6 @@ internal abstract class WindowBaseImpl : IWindowBaseImpl,
private readonly IKeyboardDevice _keyboard;
private readonly ICursorFactory _cursorFactory;
private Size _savedLogicalSize;
private Size _lastRenderedLogicalSize;
private double _savedScaling;
private NativeControlHostImpl _nativeControlHost;
private IStorageProvider _storageProvider;
Expand Down Expand Up @@ -172,7 +169,6 @@ public ILockedFramebuffer Lock()
if (_parent._native != null && _target != null)
{
cb(_parent._native);
_parent._lastRenderedLogicalSize = _parent._savedLogicalSize;
}
}
}, (int)w, (int)h, new Vector(dpi, dpi));
Expand Down

0 comments on commit 960db26

Please sign in to comment.