This commit is contained in:
RealFD 2022-07-07 11:23:15 +02:00
parent eb30b6bece
commit 29b1fc6469
2 changed files with 4 additions and 5 deletions

View File

@ -6,17 +6,16 @@ local desw,desh = Dim.design.width,Dim.design.height
lobbypanelY = 376; lobbypanelY = 376;
local l_color = gfx.CreateSkinImage("multi/roomselect/lobby_select_color.png", 1); local l_color = gfx.CreateSkinImage("multi/roomselect/lobby_select_color.png", 1);
local ncolor = gfx.CreateSkinImage("multi/roomselect/main_box.png", 1);
local l_load = gfx.CreateSkinImage("multi/roomselect/lobby_not_loaded.png",1) local l_load = gfx.CreateSkinImage("multi/roomselect/lobby_not_loaded.png",1)
local n_play_dot = gfx.CreateSkinImage("multi/roomselect/nautica/nautica_pl_dot.png",1); local n_play_dot = gfx.CreateSkinImage("multi/roomselect/nautica/nautica_pl_dot.png",1);
local getpanel = function() local getpanel = function()
if screenState == "roomList" then --multi if screenState == "roomList" then --multi
local jw,jh = gfx.ImageSize(ncolor); local jw,jh = gfx.ImageSize(l_color);
gfx.BeginPath(); gfx.BeginPath();
gfx.ImageRect(desw/desw, lobbypanelY, jw/1.17, jh/1.17, ncolor,1,0); gfx.ImageRect(desw/desw, lobbypanelY, jw/1.17, jh/1.17, l_color,1,0);
if not loading then if not loading then
gfx.BeginPath() gfx.BeginPath()
@ -27,10 +26,10 @@ local getpanel = function()
if screenState ~= "roomList" then --nautica if screenState ~= "roomList" then --nautica
local jw,jh = gfx.ImageSize(ncolor); local jw,jh = gfx.ImageSize(l_color);
gfx.BeginPath(); gfx.BeginPath();
gfx.ImageRect(lobbypanelX,lobbypanelY, jw/1.17, jh/1.17, ncolor,1,0); gfx.ImageRect(lobbypanelX,lobbypanelY, jw/1.17, jh/1.17, l_color,1,0);
gfx.BeginPath() gfx.BeginPath()
local jw,jh = gfx.ImageSize(l_load); local jw,jh = gfx.ImageSize(l_load);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 645 KiB