mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-09 01:56:47 -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() {
|
func (g *GameControls) onCloseHeroStatsPanel() {
|
||||||
|
g.updateLayout()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *GameControls) toggleLeftSkillPanel() {
|
func (g *GameControls) toggleLeftSkillPanel() {
|
||||||
@ -642,6 +643,7 @@ func (g *GameControls) toggleQuestLog() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (g *GameControls) onCloseQuestLog() {
|
func (g *GameControls) onCloseQuestLog() {
|
||||||
|
g.updateLayout()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *GameControls) toggleHelpOverlay() {
|
func (g *GameControls) toggleHelpOverlay() {
|
||||||
@ -659,6 +661,7 @@ func (g *GameControls) toggleInventoryPanel() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (g *GameControls) onCloseInventory() {
|
func (g *GameControls) onCloseInventory() {
|
||||||
|
g.updateLayout()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *GameControls) toggleSkilltreePanel() {
|
func (g *GameControls) toggleSkilltreePanel() {
|
||||||
@ -666,6 +669,7 @@ func (g *GameControls) toggleSkilltreePanel() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (g *GameControls) onCloseSkilltree() {
|
func (g *GameControls) onCloseSkilltree() {
|
||||||
|
g.updateLayout()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *GameControls) openEscMenu() {
|
func (g *GameControls) openEscMenu() {
|
||||||
|
Loading…
Reference in New Issue
Block a user