made a roll happen when graph button is clicked so it's in the history and made function bar functions persistant unless manually removed/changed or the clear button is hit
This commit is contained in:
@@ -59,7 +59,6 @@ func main() {
|
|||||||
}
|
}
|
||||||
calculations = append([]*calculation{c}, calculations...)
|
calculations = append([]*calculation{c}, calculations...)
|
||||||
historyList.Refresh()
|
historyList.Refresh()
|
||||||
diceInputEntry.SetText("")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -134,6 +133,7 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
ShowStatisticsWindow(diceInput)
|
ShowStatisticsWindow(diceInput)
|
||||||
|
roll()
|
||||||
}),
|
}),
|
||||||
newCustomButton2(".", func() {
|
newCustomButton2(".", func() {
|
||||||
diceInputEntry.SetText(diceInputEntry.Text + ".")
|
diceInputEntry.SetText(diceInputEntry.Text + ".")
|
||||||
|
|||||||
Reference in New Issue
Block a user