1
1
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:
M. Sz 2020-11-26 19:11:00 +01:00
parent 77b915f471
commit 2daf857b54

View File

@ -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()