mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-10-01 15:46:17 -04:00
when both panels (e.g. inventory and hero stats) are open, mini panel will not be opened
This commit is contained in:
parent
77b915f471
commit
2daf857b54
@ -262,7 +262,9 @@ func (m *miniPanel) Toggle() {
|
||||
}
|
||||
|
||||
func (m *miniPanel) Open() {
|
||||
if !(m.movedRight && m.movedLeft) {
|
||||
m.panelGroup.SetVisible(true)
|
||||
}
|
||||
|
||||
if !m.menuButton.GetToggled() {
|
||||
m.menuButton.Toggle()
|
||||
|
Loading…
Reference in New Issue
Block a user