mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Rewrite the gamebar (#13768)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user