Skip to content

Commit

Permalink
Scale the news banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Maia-Everett committed Apr 22, 2024
1 parent 156f8f6 commit 0926da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XIVLauncher.Core/Components/MainPage/NewsFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 0926da4

Please sign in to comment.