mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-02 22:57:04 -05:00
Fix layout/viewport not updated when panel is closed from UI button
This commit is contained in:
parent
e982430c55
commit
f83c74ffde
@ -621,6 +621,7 @@ func (g *GameControls) togglePartyPanel() {
|
||||
}
|
||||
|
||||
func (g *GameControls) onCloseHeroStatsPanel() {
|
||||
g.updateLayout()
|
||||
}
|
||||
|
||||
func (g *GameControls) toggleLeftSkillPanel() {
|
||||
@ -642,6 +643,7 @@ func (g *GameControls) toggleQuestLog() {
|
||||
}
|
||||
|
||||
func (g *GameControls) onCloseQuestLog() {
|
||||
g.updateLayout()
|
||||
}
|
||||
|
||||
func (g *GameControls) toggleHelpOverlay() {
|
||||
@ -659,6 +661,7 @@ func (g *GameControls) toggleInventoryPanel() {
|
||||
}
|
||||
|
||||
func (g *GameControls) onCloseInventory() {
|
||||
g.updateLayout()
|
||||
}
|
||||
|
||||
func (g *GameControls) toggleSkilltreePanel() {
|
||||
@ -666,6 +669,7 @@ func (g *GameControls) toggleSkilltreePanel() {
|
||||
}
|
||||
|
||||
func (g *GameControls) onCloseSkilltree() {
|
||||
g.updateLayout()
|
||||
}
|
||||
|
||||
func (g *GameControls) openEscMenu() {
|
||||
|
Loading…
Reference in New Issue
Block a user