-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hotbar window/item inherances #2661
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if there are other instances of the !
thing, but if there were any of those in this PR that I missed they should be changed too
@@ -61,7 +61,7 @@ public SpellItem(SpellsWindow spellWindow, Base parent, int index, ContextMenu c | |||
|
|||
LoadJsonUi(GameContentManager.UI.InGame, Graphics.Renderer.GetResolutionString()); | |||
|
|||
_contextMenu.ClearChildren(); | |||
_contextMenu!.ClearChildren(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ?
not !
@@ -74,7 +74,7 @@ public SpellItem(SpellsWindow spellWindow, Base parent, int index, ContextMenu c | |||
public void OpenContextMenu() | |||
{ | |||
// Clear out the old options. | |||
_contextMenu.ClearChildren(); | |||
_contextMenu!.ClearChildren(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ?
not !
@@ -34,7 +34,7 @@ public ShopItem(ShopWindow shopWindow, Base parent, int index, ContextMenu conte | |||
LoadJsonUi(GameContentManager.UI.InGame, Graphics.Renderer.GetResolutionString()); | |||
|
|||
//TODO: Is this a memory leak? | |||
_contextMenu.ClearChildren(); | |||
_contextMenu!.ClearChildren(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ?
not !
@@ -117,7 +117,7 @@ public InventoryItem(InventoryWindow inventoryWindow, Base parent, int index, Co | |||
public override void OpenContextMenu() | |||
{ | |||
// Clear out the old options since we might not show all of them | |||
_contextMenu.ClearChildren(); | |||
_contextMenu!.ClearChildren(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ?
not !
@@ -97,7 +97,7 @@ public InventoryItem(InventoryWindow inventoryWindow, Base parent, int index, Co | |||
|
|||
LoadJsonUi(GameContentManager.UI.InGame, Graphics.Renderer.GetResolutionString()); | |||
|
|||
_contextMenu.ClearChildren(); | |||
_contextMenu!.ClearChildren(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ?
not !
assets - AscensionGameDev/Intersect-Assets#68
1741809564_Intersect_Client.mp4