mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-09 09:20:44 +00: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() {
|
||||
m.panelGroup.SetVisible(true)
|
||||
if !(m.movedRight && m.movedLeft) {
|
||||
m.panelGroup.SetVisible(true)
|
||||
}
|
||||
|
||||
if !m.menuButton.GetToggled() {
|
||||
m.menuButton.Toggle()
|
||||
|
|
Loading…
Reference in New Issue
Block a user