From f969a91c0a7d6527721f985d657908a20e97c32d Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 18 May 2014 19:40:02 +0200 Subject: Fix a bunch of small bugs due to mainmenu cleanup Fix doubleclick not working in singleplayer Fix of by one issue on accessing raw list Fix this->self Fix copy&paste error for scroll button --- builtin/fstk/buttonbar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/fstk') diff --git a/builtin/fstk/buttonbar.lua b/builtin/fstk/buttonbar.lua index f5ac8905e..769bfb0be 100644 --- a/builtin/fstk/buttonbar.lua +++ b/builtin/fstk/buttonbar.lua @@ -101,7 +101,7 @@ local function buttonbar_formspec(self) self.name, text_dec) formspec = formspec .. - string.format("image_button[%f,%f;%f,%f;;btnbar_dec_%s;%s;true;true]", + string.format("image_button[%f,%f;%f,%f;;btnbar_inc_%s;%s;true;true]", btn_inc_pos.x, btn_inc_pos.y, btn_size.x, btn_size.y, self.name, text_inc) end -- cgit v1.2.3