changed equasion to print from top down
This commit is contained in:
@@ -55,7 +55,7 @@ func main() {
|
|||||||
diceRolls: diceRolls,
|
diceRolls: diceRolls,
|
||||||
result: fmt.Sprintf("= %s", strconv.FormatFloat(result, 'g', -1, 64)),
|
result: fmt.Sprintf("= %s", strconv.FormatFloat(result, 'g', -1, 64)),
|
||||||
}
|
}
|
||||||
calculations = append(calculations, c)
|
calculations = append([]*calculation{c}, calculations...)
|
||||||
historyList.Refresh()
|
historyList.Refresh()
|
||||||
diceInputEntry.SetText("")
|
diceInputEntry.SetText("")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user