mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-07 10:47:19 -05:00
commit
301a9698c8
@ -262,7 +262,7 @@ func (m *miniPanel) Toggle() {
|
||||
}
|
||||
|
||||
func (m *miniPanel) Open() {
|
||||
if !m.movedLeft && !m.movedRight {
|
||||
if !(m.movedRight && m.movedLeft) {
|
||||
m.panelGroup.SetVisible(true)
|
||||
}
|
||||
|
||||
@ -294,6 +294,7 @@ func (m *miniPanel) moveRight() {
|
||||
|
||||
func (m *miniPanel) undoMoveRight() {
|
||||
m.panelGroup.OffsetPosition(-panelOffsetRight, 0)
|
||||
m.tooltipGroup.OffsetPosition(-panelOffsetRight, 0)
|
||||
}
|
||||
|
||||
func (m *miniPanel) moveLeft() {
|
||||
|
Loading…
Reference in New Issue
Block a user