Skip to content

Commit

Permalink
- Adding force setting of End Credits Overlay Widget to Pixel (0,0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Olivo committed Oct 4, 2024
1 parent 948d000 commit 1e26152
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions MixItUp.Base/Model/Overlay/OverlayEndCreditsV3Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,13 @@ public override async Task Initialize()
this.Javascript = OverlayResources.OverlayEndCreditsDefaultJavascript;
}

if (this.PositionType != OverlayPositionV3Type.Pixel || this.XPosition != 0 || this.YPosition != 0)
{
this.PositionType = OverlayPositionV3Type.Pixel;
this.XPosition = 0;
this.YPosition = 0;
}

await base.Initialize();

foreach (OverlayEndCreditsSectionV3Model section in Sections)
Expand Down

0 comments on commit 1e26152

Please sign in to comment.