mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2024-12-12 10:13:58 +02:00
Seems like the last dev push reverted this change. Wtf are the devs doing.
This commit is contained in:
parent
bf2cb79137
commit
49e2a79bab
@ -545,7 +545,7 @@ local function ExpandPlayerListGui(player)
|
||||
name="playerList-panel",
|
||||
direction = "vertical"}
|
||||
ApplyStyle(scrollFrame, my_player_list_fixed_width_style)
|
||||
scrollFrame.can_scroll_horizontally = false
|
||||
scrollFrame.horizontal_scroll_policy = "never"
|
||||
for _,player in pairs(game.connected_players) do
|
||||
local caption_str = player.name.." ["..player.force.name.."]".." ("..formattime_hours_mins(player.online_time)..")"
|
||||
local text = scrollFrame.add{type="label", caption=caption_str, name=player.name.."_plist"}
|
||||
|
@ -475,7 +475,7 @@ function DisplaySharedSpawnOptions(player)
|
||||
ApplyStyle(shGui, my_fixed_width_style)
|
||||
shGui.style.maximal_width = SPAWN_GUI_MAX_WIDTH
|
||||
shGui.style.maximal_height = SPAWN_GUI_MAX_HEIGHT
|
||||
shGui.can_scroll_horizontally = false
|
||||
shGui.horizontal_scroll_policy = "never"
|
||||
|
||||
|
||||
for spawnName,sharedSpawn in pairs(global.sharedSpawns) do
|
||||
@ -590,7 +590,7 @@ function ExpandSpawnCtrlGui(player, tick)
|
||||
name="spwn_ctrl_panel", caption=""}
|
||||
ApplyStyle(spwnCtrls, my_fixed_width_style)
|
||||
spwnCtrls.style.maximal_height = SPAWN_GUI_MAX_HEIGHT
|
||||
spwnCtrls.can_scroll_horizontally = false
|
||||
spwnCtrls.horizontal_scroll_policy = "never"
|
||||
|
||||
if ENABLE_SHARED_SPAWNS then
|
||||
if (global.uniqueSpawns[player.name] ~= nil) then
|
||||
|
Loading…
Reference in New Issue
Block a user