修复多处全局变量泄露,整理代码
This commit is contained in:
@@ -194,6 +194,7 @@ local baseRankColor={
|
||||
{.85,.8,.3,.3},
|
||||
{.4,.7,.4,.3},
|
||||
}
|
||||
local rankColor=rankColor
|
||||
local function drawModeShape(M,S,drawType)
|
||||
if M.shape==1 then--Rectangle
|
||||
gc.rectangle(drawType,M.x-S,M.y-S,2*S,2*S)
|
||||
|
||||
Reference in New Issue
Block a user