Disable content offset for pressed buttons

This commit is contained in:
Wuzzy 2021-02-24 02:48:18 +01:00
parent 3ecb3ebad5
commit e549817e31

View File

@ -18,7 +18,8 @@ default.ui.current_page = {}
local prepend = "listcolors[#00000000;#00000010;#00000000;#68B259;#FFF]" ..
"tableoptions[background=#DDDDDD30;highlight=#539646]" ..
"style_type[button,image_button,checkbox,tabheader;sound=default_gui_button]"
"style_type[button,image_button,item_image_button,checkbox,tabheader;sound=default_gui_button]" ..
"style_type[button:pressed,image_button:pressed,item_image_button:pressed;content_offset=0]"
default.ui.default.bg = "bgcolor[#00000000]"
-- bgcolor intentionally not included because it would make pause menu transparent, too :(