Skip to content

Commit

Permalink
Merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
C1rdec committed May 11, 2020
2 parents 7739853 + ef18f4d commit 3bf4887
Show file tree
Hide file tree
Showing 40 changed files with 601 additions and 256 deletions.
46 changes: 45 additions & 1 deletion Lurker.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lurker", "src\Lurker\Lurker
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lurker.UI", "src\Lurker.UI\Lurker.UI.csproj", "{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lurker.Test", "Lurker.Test\Lurker.Test.csproj", "{3FBDB2E3-2657-419A-A0AC-51939842F710}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lurker.Test", "test\Lurker.Test\Lurker.Test.csproj", "{3FBDB2E3-2657-419A-A0AC-51939842F710}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Collaboration", "Collaboration", "{02208CDF-D611-4FA0-A548-F8B8F048EC54}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -30,29 +30,73 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Debug|Any CPU.Build.0 = Debug|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Debug|x64.ActiveCfg = Debug|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Debug|x64.Build.0 = Debug|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Debug|x86.ActiveCfg = Debug|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Debug|x86.Build.0 = Debug|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Release|Any CPU.ActiveCfg = Release|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Release|Any CPU.Build.0 = Release|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Release|x64.ActiveCfg = Release|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Release|x64.Build.0 = Release|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Release|x86.ActiveCfg = Release|Any CPU
{70F00AAB-C386-4656-946D-EF9E9334BC14}.Release|x86.Build.0 = Release|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Debug|x64.ActiveCfg = Debug|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Debug|x64.Build.0 = Debug|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Debug|x86.ActiveCfg = Debug|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Debug|x86.Build.0 = Debug|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Release|Any CPU.Build.0 = Release|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Release|x64.ActiveCfg = Release|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Release|x64.Build.0 = Release|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Release|x86.ActiveCfg = Release|Any CPU
{4E21F049-82D6-4853-8C59-B0ADDF3A4383}.Release|x86.Build.0 = Release|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Debug|x64.ActiveCfg = Debug|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Debug|x64.Build.0 = Debug|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Debug|x86.ActiveCfg = Debug|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Debug|x86.Build.0 = Debug|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Release|Any CPU.Build.0 = Release|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Release|x64.ActiveCfg = Release|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Release|x64.Build.0 = Release|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Release|x86.ActiveCfg = Release|Any CPU
{F2FBBB7D-D7D9-4C01-A5A8-A3692DA521EE}.Release|x86.Build.0 = Release|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Debug|x64.ActiveCfg = Debug|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Debug|x64.Build.0 = Debug|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Debug|x86.ActiveCfg = Debug|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Debug|x86.Build.0 = Debug|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Release|Any CPU.Build.0 = Release|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Release|x64.ActiveCfg = Release|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Release|x64.Build.0 = Release|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Release|x86.ActiveCfg = Release|Any CPU
{3FBDB2E3-2657-419A-A0AC-51939842F710}.Release|x86.Build.0 = Release|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Debug|x64.ActiveCfg = Debug|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Debug|x64.Build.0 = Debug|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Debug|x86.ActiveCfg = Debug|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Debug|x86.Build.0 = Debug|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Release|Any CPU.Build.0 = Release|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Release|x64.ActiveCfg = Release|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Release|x64.Build.0 = Release|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Release|x86.ActiveCfg = Release|Any CPU
{0BC827AB-E8E2-4D60-8394-5B07841285DA}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ If you like and use Poe Lurker please consider signing up for a small monthly [P

![GitHub All Releases](https://img.shields.io/github/downloads/C1rdec/Poe-Lurker/total?color=Blue&label=Official%20Lurker&style=for-the-badge) [![Discord](https://img.shields.io/discord/663088791539679244?style=for-the-badge)](https://discord.gg/hQERv7K) <a href="https://www.patreon.com/poelurker"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.herokuapp.com%2FPoeLurker&style=for-the-badge" /> </a> [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?style=for-the-badge)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WEYTVSDNTB8GY&currency_code=CAD&source=url)

# Shoutouts
| [SignPath.io](https://signpath.io/) for the free code signing | [Winook](https://github.com/macote/Winook) for the thread level hook | [MahApps](https://github.com/MahApps/MahApps.Metro) for the modern UI |
| ------------- | ------------- | ------------- |
| <a href="https://signpath.io/" target="_blank"><img src="./assets/signpath_logo.png"></a> | <a href="https://github.com/macote/Winook" target="_blank"><img height="50" src="./assets/WinookLogo.png"></a> | <a href="https://github.com/MahApps/MahApps.Metro" target="_blank"><img height="45" src="./assets/MahAppsIcon.png"></a> |

## Usage
- Install ≥ [.NET Framework 4.8](https://dotnet.microsoft.com/download/dotnet-framework)
- Download and run [`PoeLurker.exe`](https://github.com/C1rdec/Poe-Lurker/releases/latest/download/PoeLurker.exe) from the [Releases Page](https://github.com/C1rdec/PoeLurker/releases).
Expand Down
Binary file added assets/MahAppsIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/Patrons
Original file line number Diff line number Diff line change
@@ -1 +1 @@
32375850;4000228;13804588;32387855;32436516;11533714;33504923
32375850;4000228;13804588;32387855;32436516;11533714;33504923;35049341
Binary file added assets/WinookLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/signpath_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/Lurker.Console/Lurker.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<Reference Include="LiteDB, Version=5.0.4.0, Culture=neutral, PublicKeyToken=4ee40123013c9f27, processorArchitecture=MSIL">
<HintPath>..\..\packages\LiteDB.5.0.4\lib\net45\LiteDB.dll</HintPath>
</Reference>
<Reference Include="Lurker.Patreon, Version=1.0.18.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Lurker.Patreon.1.0.18\lib\net48\Lurker.Patreon.dll</HintPath>
<Reference Include="Lurker.Patreon, Version=1.0.19.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Lurker.Patreon.1.0.19\lib\net48\Lurker.Patreon.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Owin, Version=2.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Owin.2.0.2\lib\net45\Microsoft.Owin.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion src/Lurker.Console/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<packages>
<package id="ConfOxide" version="1.4.2.0" targetFramework="net48" />
<package id="LiteDB" version="5.0.4" targetFramework="net48" />
<package id="Lurker.Patreon" version="1.0.18" targetFramework="net48" />
<package id="Lurker.Patreon" version="1.0.19" targetFramework="net48" />
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net48" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net48" />
<package id="Microsoft.AspNet.WebApi.Owin" version="5.2.7" targetFramework="net48" />
Expand Down
1 change: 1 addition & 0 deletions src/Lurker.UI/AppBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ protected override void Configure()
this._container.PerRequest<OutgoingbarViewModel, OutgoingbarViewModel>();
this._container.PerRequest<LifeBulbViewModel, LifeBulbViewModel>();
this._container.PerRequest<ManaBulbViewModel, ManaBulbViewModel>();
this._container.PerRequest<HideoutViewModel, HideoutViewModel>();
this._container.RegisterInstance(typeof(SimpleContainer), null, this._container);
}

Expand Down
12 changes: 10 additions & 2 deletions src/Lurker.UI/Lurker.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
<Reference Include="LottieSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\LottieSharp.1.0.0\lib\net461\LottieSharp.dll</HintPath>
</Reference>
<Reference Include="Lurker.Patreon, Version=1.0.18.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Lurker.Patreon.1.0.18\lib\net48\Lurker.Patreon.dll</HintPath>
<Reference Include="Lurker.Patreon, Version=1.0.19.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Lurker.Patreon.1.0.19\lib\net48\Lurker.Patreon.dll</HintPath>
</Reference>
<Reference Include="MahApps.Metro, Version=1.6.5.1, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\MahApps.Metro.1.6.5\lib\net47\MahApps.Metro.dll</HintPath>
Expand Down Expand Up @@ -253,6 +253,7 @@
<Compile Include="ViewModels\AffixViewModel.cs" />
<Compile Include="ViewModels\ChartViewModelBase.cs" />
<Compile Include="ViewModels\CollaborationViewModel.cs" />
<Compile Include="ViewModels\HideoutViewModel.cs" />
<Compile Include="ViewModels\LineChartViewModel.cs" />
<Compile Include="ViewModels\DashboardViewModel.cs" />
<Compile Include="ViewModels\ItemOverlayViewModel.cs" />
Expand Down Expand Up @@ -285,6 +286,9 @@
<Compile Include="Views\DashboardView.xaml.cs">
<DependentUpon>DashboardView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\HideoutView.xaml.cs">
<DependentUpon>HideoutView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\ItemOverlayView.xaml.cs">
<DependentUpon>ItemOverlayView.xaml</DependentUpon>
</Compile>
Expand Down Expand Up @@ -355,6 +359,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\HideoutView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\ItemOverlayView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down
1 change: 1 addition & 0 deletions src/Lurker.UI/Lurker.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
</metadata>
<files>
<file src="*.*" target="lib\net45\" exclude="*.pdb;*.xml;*.nupkg;*.vshost.*"/>
<file src="winook.support\*.*" target="lib\net45\winook.support" exclude="*.pdb;*.xml;*.nupkg;*.vshost.*"/>
</files>
</package>
4 changes: 2 additions & 2 deletions src/Lurker.UI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.23.0")]
[assembly: AssemblyFileVersion("1.5.23.0")]
[assembly: AssemblyVersion("1.5.26.0")]
[assembly: AssemblyFileVersion("1.5.26.0")]
5 changes: 5 additions & 0 deletions src/Lurker.UI/ViewModels/BulbViewModelBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ protected void Hide()
/// </summary>
protected void SetDefaultAction()
{
if (this.DefaultAction == null)
{
return;
}

EventHandler<LocationChangedEvent> firstLocationChanged = default;
firstLocationChanged = (s, a) =>
{
Expand Down
61 changes: 61 additions & 0 deletions src/Lurker.UI/ViewModels/HideoutViewModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
namespace Lurker.UI.ViewModels
{
using Caliburn.Micro;
using Lurker;
using Lurker.Helpers;
using Lurker.Models;
using Lurker.Services;

public class HideoutViewModel : PoeOverlayBase
{
#region Fields

private static readonly int DefaultSize = 60;
PoeKeyboardHelper _keyboardHelper;

#endregion

#region Constructors

/// <summary>
/// Initializes a new instance of the <see cref="HideoutViewModel"/> class.
/// </summary>
/// <param name="windowManager">The window manager.</param>
/// <param name="dockingHelper">The docking helper.</param>
/// <param name="processLurker"></param>
/// <param name="settingsService"></param>
public HideoutViewModel(IWindowManager windowManager, DockingHelper dockingHelper, ProcessLurker processLurker, SettingsService settingsService, PoeKeyboardHelper keyboardHelper)
: base(windowManager, dockingHelper, processLurker, settingsService)
{
this._keyboardHelper = keyboardHelper;
}

#endregion

/// <summary>
/// Joins the hideout.
/// </summary>
public void JoinHideout()
{
this._keyboardHelper.JoinHideout();
}

/// <summary>
/// Sets the window position.
/// </summary>
/// <param name="windowInformation"></param>
protected override void SetWindowPosition(PoeWindowInformation windowInformation)
{
var value = DefaultSize * windowInformation.Height / 1080;
var margin = PoeApplicationContext.WindowStyle == WindowStyle.Windowed ? 10 : 0;

Execute.OnUIThread(() =>
{
this._view.Height = value;
this._view.Width = value;
this._view.Left = windowInformation.Position.Left + margin;
this._view.Top = windowInformation.Position.Bottom - value - margin;
});
}
}
}
15 changes: 3 additions & 12 deletions src/Lurker.UI/ViewModels/LifeBulbViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public class LifeBulbViewModel : BulbViewModelBase, IHandle<LifeBulbMessage>
#region Fields

private IEventAggregator _eventAggregator;
private PoeKeyboardHelper _keyboardHelper;

#endregion

Expand All @@ -34,14 +33,11 @@ public class LifeBulbViewModel : BulbViewModelBase, IHandle<LifeBulbMessage>
/// <param name="eventAggregator">The event aggregator.</param>
/// <param name="windowManager">The window manager.</param>
/// <param name="dockingHelper">The docking helper.</param>
/// <param name="processLurker">The process lurker.</param>
/// <param name="settingsService">The settings service.</param>
/// <param name="keyboard">The keyboard.</param>
/// <param name="clientLurker">The client lurker.</param>
public LifeBulbViewModel(IEventAggregator eventAggregator, IWindowManager windowManager, DockingHelper dockingHelper, ProcessLurker processLurker, SettingsService settingsService, PoeKeyboardHelper keyboard, ClientLurker clientLurker)
/// <param name="lurker"></param>
/// <param name="settingsService"></param>H
public LifeBulbViewModel(IEventAggregator eventAggregator, IWindowManager windowManager, DockingHelper dockingHelper, ProcessLurker processLurker, ClientLurker clientLurker,SettingsService settingsService)
: base(windowManager, dockingHelper, processLurker, settingsService, clientLurker)
{
this._keyboardHelper = keyboard;
this._eventAggregator = eventAggregator;
this._eventAggregator.Subscribe(this);
}
Expand Down Expand Up @@ -77,11 +73,6 @@ protected override void SetWindowPosition(PoeWindowInformation windowInformation
});
}

/// <summary>
/// Gets the default action.
/// </summary>
protected override System.Action DefaultAction => () => this._keyboardHelper.JoinHideout();

#endregion
}
}
11 changes: 6 additions & 5 deletions src/Lurker.UI/ViewModels/ManaBulbViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,14 @@ public void Handle(ManaBulbMessage message)
protected override void SetWindowPosition(PoeWindowInformation windowInformation)
{
var value = DefaultBulbHeight * windowInformation.Height / 1080;
var margin = PoeApplicationContext.WindowStyle == WindowStyle.Windowed ? 10 : 0;
Execute.OnUIThread(() =>
{
this.View.Height = value;
this.View.Width = value;
this.View.Left = windowInformation.Position.Right - value - 10;
this.View.Top = windowInformation.Position.Bottom - value - 10;
var lifeView = this.View as ManaBulbView;
this._view.Height = value;
this._view.Width = value;
this._view.Left = windowInformation.Position.Right - value - margin;
this._view.Top = windowInformation.Position.Bottom - value - margin;
var lifeView = this._view as ManaBulbView;
});
}

Expand Down
1 change: 1 addition & 0 deletions src/Lurker.UI/ViewModels/OutgoingbarViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ protected override void SetWindowPosition(PoeWindowInformation windowInformation
var yPosition = windowInformation.FlaskBarWidth * (238 / (double)DefaultFlaskBarWidth);
var width = windowInformation.Height * DefaultWidth / 1080;
var height = windowInformation.FlaskBarHeight - (Margin * 2);

Execute.OnUIThread(() =>
{
this.View.Height = height < 0 ? 1 : height;
Expand Down
Loading

0 comments on commit 3bf4887

Please sign in to comment.