mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Rewrite the gamebar (#13768)
This commit is contained in:
parent
294ad98776
commit
83b85ba16a
4 changed files with 108 additions and 150 deletions
|
@ -81,9 +81,8 @@ function singleplayer_refresh_gamebar()
|
|||
end
|
||||
end
|
||||
|
||||
local btnbar = buttonbar_create("game_button_bar",
|
||||
game_buttonbar_button_handler,
|
||||
{x=0,y=7.475}, "horizontal", {x=15.5,y=1.25})
|
||||
local btnbar = buttonbar_create("game_button_bar", {x = 0, y = 7.475},
|
||||
{x = 15.5, y = 1.25}, "#000000", game_buttonbar_button_handler)
|
||||
|
||||
for _, game in ipairs(pkgmgr.games) do
|
||||
local btn_name = "game_btnbar_" .. game.id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue