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,9 +162,9 @@ function show_calculator(player)
162 tooltip = { "calculator-ui.button_CE" }, 162 tooltip = { "calculator-ui.button_CE" },
163 name = 163 name =
164 "calcui_button_CE" 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 row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "C", tooltip = { "calculator-ui.button_C" }, name = "calcui_button_C" }).sprite = 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 row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "", tooltip = { "calculator-ui.button_BS" }, name = "calcui_button_BS" }).sprite = 168 row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "", tooltip = { "calculator-ui.button_BS" }, name = "calcui_button_BS" }).sprite =
169 "sprite_calcui_backspace" 169 "sprite_calcui_backspace"
170 row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "/", tooltip = { "calculator-ui.button_DIV" }, name = "calcui_button_DIV" }).sprite = 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 Version: 2.0.0 7 Version: 2.0.0
3 Date: 2024-10-29 8 Date: 2024-10-29
4 Info: 9 Info:
info.json
1 { 1 {
2 "name": "calculator-ui", 2 "name": "calculator-ui",
3 - "version": "2.0.0", 3 + "version": "2.0.1",
4 "title": "Calculator UI", 4 "title": "Calculator UI",
5 "author": "Wichu", 5 "author": "Wichu",
6 "factorio_version": "2.0", 6 "factorio_version": "2.0",