More work for MainGame.mnu
This commit is contained in:
@@ -19,6 +19,7 @@ func (d *Driver) ShowDialogue(locator string) error {
|
||||
if dialogue.Locator == locator {
|
||||
|
||||
// FIXME: we should unhover and mouseup the non-dialogue elements
|
||||
dialogue.Active = true
|
||||
d.activeDialogue = dialogue
|
||||
|
||||
return nil
|
||||
@@ -28,5 +29,9 @@ func (d *Driver) ShowDialogue(locator string) error {
|
||||
}
|
||||
|
||||
func (d *Driver) HideDialogue() {
|
||||
if d.activeDialogue != nil {
|
||||
d.activeDialogue.Active = false
|
||||
}
|
||||
|
||||
d.activeDialogue = nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user