Skip to content

Commit

Permalink
Pop shouldn't be inherited for base class
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolique committed Feb 6, 2024
1 parent 4c84c76 commit 2dc4645
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/FloatingWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ public override void Draw(GameTime gameTime) {

return a;
}
public static new void Pop() {
GuiHelper.CurrentIMGUI.Pop();
}
}
}
3 changes: 3 additions & 0 deletions Source/MenuPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@ protected override float ClampOffsetY(float y) {

return a;
}
public static new void Pop() {
GuiHelper.CurrentIMGUI.Pop();
}
}
}

0 comments on commit 2dc4645

Please sign in to comment.