Skip to content

Commit 1b7220a

Browse files
committed
Remove widescreen verification
1 parent d132309 commit 1b7220a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/PoeLurker.UI/ViewModels/HideoutViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public async void JoinHideout()
112112
protected override void SetWindowPosition(PoeWindowInformation windowInformation)
113113
{
114114
var value = DefaultSize * windowInformation.Height / 1080;
115-
var margin = SettingsService.CentredUI && windowInformation.WideScreen ? windowInformation.FlaskBarWidth * 0.8 : 0;
115+
var margin = SettingsService.CentredUI ? windowInformation.FlaskBarWidth * 0.8 : 0;
116116
Execute.OnUIThread(() =>
117117
{
118118
View.Height = ApplyAbsoluteScalingY(value);

src/PoeLurker.UI/ViewModels/LifeBulbViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public Task HandleAsync(LifeBulbMessage message, CancellationToken cancellationT
8484
protected override void SetWindowPosition(PoeWindowInformation windowInformation)
8585
{
8686
var value = DefaultBulbHeight * windowInformation.Height / 1080;
87-
var margin = SettingsService.CentredUI && windowInformation.WideScreen ? windowInformation.FlaskBarWidth * 0.8 : 0;
87+
var margin = SettingsService.CentredUI ? windowInformation.FlaskBarWidth * 0.8 : 0;
8888

8989
Execute.OnUIThread(() =>
9090
{

src/PoeLurker.UI/ViewModels/ManaBulbViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public async Task HandleAsync(ManaBulbMessage message, CancellationToken token)
110110
protected override void SetWindowPosition(PoeWindowInformation windowInformation)
111111
{
112112
var value = DefaultBulbHeight * windowInformation.Height / 1080;
113-
var margin = SettingsService.CentredUI && windowInformation.WideScreen ? windowInformation.FlaskBarWidth * 0.8 : 0;
113+
var margin = SettingsService.CentredUI ? windowInformation.FlaskBarWidth * 0.8 : 0;
114114
Execute.OnUIThread(() =>
115115
{
116116
View.Height = ApplyAbsoluteScalingY(value);

src/PoeLurker.UI/ViewModels/OutgoingbarViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ protected override void SetWindowPosition(PoeWindowInformation windowInformation
317317
var yPosition = windowInformation.FlaskBarWidth * (238 / (double)DefaultFlaskBarWidth);
318318
var width = windowInformation.Height * DefaultWidth / 1080;
319319
var height = windowInformation.FlaskBarHeight + 25;
320-
var margin = SettingsService.CentredUI && windowInformation.WideScreen ? windowInformation.FlaskBarWidth * 0.75 : 0;
320+
var margin = SettingsService.CentredUI ? windowInformation.FlaskBarWidth * 0.75 : 0;
321321

322322
Execute.OnUIThread(() =>
323323
{

src/PoeLurker.UI/ViewModels/TradebarViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,8 @@ protected override void SetWindowPosition(PoeWindowInformation windowInformation
664664
return;
665665
}
666666

667-
var leftMultiplier = SettingsService.CentredUI && windowInformation.WideScreen ? 1.75 : 1;
668-
var widthMultiplier = SettingsService.CentredUI && windowInformation.WideScreen ? 3 : 2;
667+
var leftMultiplier = SettingsService.CentredUI ? 1.75 : 1;
668+
var widthMultiplier = SettingsService.CentredUI ? 3 : 2;
669669

670670
var overlayHeight = DefaultOverlayHeight * windowInformation.FlaskBarHeight / DefaultFlaskBarHeight * SettingsService.TradebarScaling;
671671
var overlayWidth = (windowInformation.Width - (windowInformation.FlaskBarWidth * widthMultiplier)) / 2;

0 commit comments

Comments
 (0)