grey的拼写改为gray

This commit is contained in:
MrZ626
2021-07-08 21:31:48 +08:00
parent e29c3af8bb
commit 7ae418c597
4 changed files with 9 additions and 5 deletions

View File

@@ -261,6 +261,10 @@ do
needSave=true
autoRestart=true
end
if SETTING.ghostType=='greyCell'then
SETTING.ghostType='grayCell'
needSave=true
end
if not SETTING.VKSkin then SETTING.VKSkin=1 end
if not TABLE.find({8,10,13,17,22,29,37,47,62,80,100},SETTING.frameMul)then
SETTING.frameMul=100

View File

@@ -21,7 +21,7 @@ do--function applyXxxSatur(mode)
local saturateValues={
normal={0,1},
soft={.2,.7},
grey={.4,.4},
gray={.4,.4},
light={.2,.8},
color={-.2,1.2},
}

View File

@@ -239,7 +239,7 @@ local drawGhost={
end
end end
end,
greyCell=function(P,_,alpha)
grayCell=function(P,_,alpha)
gc_setColor(1,1,1,alpha)
local CB=P.cur.bk
for i=1,#CB do for j=1,#CB[1]do

View File

@@ -45,7 +45,7 @@ scene.widgetList={
WIDGET.newSwitch{name="upEdge", x=380,y=320,disp=SETval("upEdge"),code=SETrev("upEdge")},
WIDGET.newSwitch{name="bagLine", x=380,y=390,disp=SETval("bagLine"),code=SETrev("bagLine")},
WIDGET.newSelector{name="ghostType",x=915,y=180,w=350,list={'color','gray','colorCell','greyCell','colorLine','grayLine'},disp=SETval("ghostType"),code=SETsto("ghostType")},
WIDGET.newSelector{name="ghostType",x=915,y=180,w=350,list={'color','gray','colorCell','grayCell','colorLine','grayLine'},disp=SETval("ghostType"),code=SETsto("ghostType")},
WIDGET.newSlider{name="ghost", x=740,y=240,w=350,unit=1, disp=SETval("ghost"),show="percent",code=SETsto("ghost")},
WIDGET.newSlider{name="grid", x=740,y=320,w=350,unit=.4, disp=SETval("grid"),show="percent", code=SETsto("grid")},
WIDGET.newSlider{name="center", x=740,y=400,w=350,unit=1, disp=SETval("center"), code=SETsto("center")},
@@ -79,12 +79,12 @@ scene.widgetList={
end},
WIDGET.newSelector{name="blockSatur",x=800,y=1440,w=300,color='lN',
list={'normal','soft','grey','light','color'},
list={'normal','soft','gray','light','color'},
disp=SETval("blockSatur"),
code=function(v)SETTING.blockSatur=v;applyBlockSatur(SETTING.blockSatur)end
},
WIDGET.newSelector{name="fieldSatur",x=800,y=1540,w=300,color='lN',
list={'normal','soft','grey','light','color'},
list={'normal','soft','gray','light','color'},
disp=SETval("fieldSatur"),
code=function(v)SETTING.fieldSatur=v;applyFieldSatur(SETTING.fieldSatur)end
},