Commit b227e8965166a2cd2e58cb2dedfcefe1f682889a

Authored by Stefan Wichmann
1 parent 9d6691a6

Ups, missing a button sprite, fixed!

calculator.lua
... ... @@ -162,9 +162,9 @@ function show_calculator(player)
162 162 tooltip = { "calculator-ui.button_CE" },
163 163 name =
164 164 "calcui_button_CE"
165   - }) --.sprite = "sprite_calcui_light" -- CE = Clear Entry (just this line)
  165 + }).sprite = "sprite_calcui_light" -- CE = Clear Entry (just this line)
166 166 row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "C", tooltip = { "calculator-ui.button_C" }, name = "calcui_button_C" }).sprite =
167   - "sprite_calcui_light" -- C = Clear (all, past results as well)
  167 + "sprite_calcui_light" -- C = Clear (all, past results as well)
168 168 row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "", tooltip = { "calculator-ui.button_BS" }, name = "calcui_button_BS" }).sprite =
169 169 "sprite_calcui_backspace"
170 170 row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "/", tooltip = { "calculator-ui.button_DIV" }, name = "calcui_button_DIV" }).sprite =
... ...
changelog.txt
1 1 ---------------------------------------------------------------------------------------------------
  2 +Version: 2.0.1
  3 +Date: 2024-10-30
  4 + Bugfixes:
  5 + - Was missing a button :-)
  6 +---------------------------------------------------------------------------------------------------
2 7 Version: 2.0.0
3 8 Date: 2024-10-29
4 9 Info:
... ...
info.json
1 1 {
2 2 "name": "calculator-ui",
3   - "version": "2.0.0",
  3 + "version": "2.0.1",
4 4 "title": "Calculator UI",
5 5 "author": "Wichu",
6 6 "factorio_version": "2.0",
... ...