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