两种按钮上的文本也会挤压绘制了

优化控件绘制性能
修正两个背景设置按钮位置错误
调整之前忘了同步的语言
This commit is contained in:
MrZ626
2021-11-28 04:56:55 +08:00
parent fe004a72f0
commit e6bc567b12
6 changed files with 43 additions and 39 deletions

View File

@@ -392,9 +392,9 @@ return{
clean="Quick Draw",
fullscreen="Fullscreen",
bg_on="Normal Backgrounds",
bg_off="No Background",
bg_custom="Apply Custom BG",
bg_on="Normal B.G.",
bg_off="No B.G.",
bg_custom="Use Custom B.G.",
blockSatur="Block Saturation",
fieldSatur="Field Saturation",

View File

@@ -358,9 +358,9 @@ return{
clean="Fast Draw",
fullscreen="Pant. Completa",
-- bg_on="Normal Backgrounds",
-- bg_off="No Background",
-- bg_custom="Apply Custom BG",
-- bg_on="Normal B.G.",
-- bg_on="No B.G.",
-- bg_custom="Use Custom B.G.",
blockSatur="Saturac. de los Bloques",
fieldSatur="Saturac. del Tablero",

View File

@@ -356,9 +356,9 @@ return{
-- clean="Fast Draw",
fullscreen="Plein écran",
-- bg_on="Normal Backgrounds",
-- bg_off="No Background",
-- bg_custom="Apply Custom BG",
-- bg_on="Normal B.G.",
-- bg_on="No B.G.",
-- bg_custom="Use Custom B.G.",
-- blockSatur="Block Saturation",
-- fieldSatur="Field Saturation",

View File

@@ -380,9 +380,9 @@ return{
-- clean="Fast Draw",
fullscreen="Tela cheia",
-- bg_on="Normal Backgrounds",
-- bg_off="No Background",
-- bg_custom="Apply Custom BG",
-- bg_on="Normal B.G.",
-- bg_on="No B.G.",
-- bg_custom="Use Custom B.G.",
-- blockSatur="Block Saturation",
-- fieldSatur="Field Saturation",

View File

@@ -80,8 +80,8 @@ scene.widgetList={
WIDGET.newSwitch{name='clean', x=950,y=1160,lim=360,disp=SETval('cleanCanvas'), code=SETrev('cleanCanvas')},
WIDGET.newSwitch{name='fullscreen', x=950,y=1250,lim=360,disp=SETval('fullscreen'), code=function()SETTING.fullscreen=not SETTING.fullscreen applyFullscreen()end},
WIDGET.newKey{name='bg_on', x=900,y=1340,w=200,h=80,code=function()SETTING.bg='on'applyBG()end},
WIDGET.newKey{name='bg_off', x=680,y=1340,w=200,h=80,code=function()SETTING.bg='off'applyBG()end},
WIDGET.newKey{name='bg_on', x=680,y=1340,w=200,h=80,code=function()SETTING.bg='on'applyBG()end},
WIDGET.newKey{name='bg_off', x=900,y=1340,w=200,h=80,code=function()SETTING.bg='off'applyBG()end},
WIDGET.newKey{name='bg_custom', x=1120,y=1340,w=200,h=80,
code=function()
if love.filesystem.getInfo('conf/customBG')then