Skip to content

Commit

Permalink
Prevent window id collisions between plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
MidoriKami committed Jul 13, 2024
1 parent 3fb9845 commit eec31a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Window/WindowManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public void AddWindow(Window window, WindowFlags? windowFlags = null) {

window.PluginInterface = pluginInterface;
window.ParentWindowManager = this;
window.WindowName += $"##{pluginInterface.InternalName}";

if (windowFlags is { } flags) {
window.WindowFlags = flags;
Expand Down

0 comments on commit eec31a3

Please sign in to comment.