Skip to content

Commit

Permalink
Merge pull request #6132 from bdach/fix-osutk-window-displays
Browse files Browse the repository at this point in the history
Fix incorrect implementation of `OsuTKWindow.Displays`
  • Loading branch information
bdach authored Jan 13, 2024
2 parents 9b3aaa5 + 6598f76 commit 92db55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Framework/Platform/OsuTKWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void CancelFlash()

public abstract IBindable<bool> IsActive { get; }

public virtual ImmutableArray<Display> Displays => new ImmutableArray<Display> { DisplayDevice.GetDisplay(DisplayIndex.Primary).ToDisplay() };
public virtual ImmutableArray<Display> Displays => ImmutableArray.Create(DisplayDevice.GetDisplay(DisplayIndex.Primary).ToDisplay());

#pragma warning disable CS0067
public event Action<IEnumerable<Display>> DisplaysChanged;
Expand Down

0 comments on commit 92db55a

Please sign in to comment.