From 0926da424b7a968d89774491290552e0e466f423 Mon Sep 17 00:00:00 2001 From: Maia Everett Date: Mon, 22 Apr 2024 13:58:31 +0300 Subject: [PATCH] Scale the news banner --- src/XIVLauncher.Core/Components/MainPage/NewsFrame.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XIVLauncher.Core/Components/MainPage/NewsFrame.cs b/src/XIVLauncher.Core/Components/MainPage/NewsFrame.cs index 1d222f74..1b2deeed 100644 --- a/src/XIVLauncher.Core/Components/MainPage/NewsFrame.cs +++ b/src/XIVLauncher.Core/Components/MainPage/NewsFrame.cs @@ -85,7 +85,7 @@ public override void Draw() if (this.newsLoaded) { var banner = this.banners[this.currentBanner]; - ImGui.Image(banner.ImGuiHandle, banner.Size); + ImGui.Image(banner.ImGuiHandle, ImGuiHelpers.GetScaled(banner.Size)); if (ImGui.IsItemClicked(ImGuiMouseButton.Left)) AppUtil.OpenBrowser(this.bannerList[this.currentBanner].Link.ToString());