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:
Grimsace
2026-02-19 14:00:14 -06:00
parent 21f0c54629
commit db2c20176c
+1 -1
View File
@@ -59,7 +59,6 @@ func main() {
}
calculations = append([]*calculation{c}, calculations...)
historyList.Refresh()
diceInputEntry.SetText("")
}
}
@@ -134,6 +133,7 @@ func main() {
return
}
ShowStatisticsWindow(diceInput)
roll()
}),
newCustomButton2(".", func() {
diceInputEntry.SetText(diceInputEntry.Text + ".")