From b227e8965166a2cd2e58cb2dedfcefe1f682889a Mon Sep 17 00:00:00 2001 From: Stefan Wichmann Date: Wed, 30 Oct 2024 20:27:38 +0100 Subject: [PATCH] Ups, missing a button sprite, fixed! --- calculator.lua | 4 ++-- changelog.txt | 5 +++++ info.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/calculator.lua b/calculator.lua index 4b88d57..35417e1 100644 --- a/calculator.lua +++ b/calculator.lua @@ -162,9 +162,9 @@ function show_calculator(player) tooltip = { "calculator-ui.button_CE" }, name = "calcui_button_CE" - }) --.sprite = "sprite_calcui_light" -- CE = Clear Entry (just this line) + }).sprite = "sprite_calcui_light" -- CE = Clear Entry (just this line) row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "C", tooltip = { "calculator-ui.button_C" }, name = "calcui_button_C" }).sprite = - "sprite_calcui_light" -- C = Clear (all, past results as well) + "sprite_calcui_light" -- C = Clear (all, past results as well) row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "", tooltip = { "calculator-ui.button_BS" }, name = "calcui_button_BS" }).sprite = "sprite_calcui_backspace" row1.add({ type = "sprite-button", style = "calcui_button_style_light", caption = "/", tooltip = { "calculator-ui.button_DIV" }, name = "calcui_button_DIV" }).sprite = diff --git a/changelog.txt b/changelog.txt index 0b726f1..e12526c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.1 +Date: 2024-10-30 + Bugfixes: + - Was missing a button :-) +--------------------------------------------------------------------------------------------------- Version: 2.0.0 Date: 2024-10-29 Info: diff --git a/info.json b/info.json index d9ae7c6..e046689 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "calculator-ui", - "version": "2.0.0", + "version": "2.0.1", "title": "Calculator UI", "author": "Wichu", "factorio_version": "2.0", -- libgit2 0.22.2