Large refactor and code cleanup.
This commit is contained in:
parent
8b4cc23bb0
commit
c92490fc91
7 changed files with 66 additions and 45 deletions
|
@ -1,9 +1,9 @@
|
|||
local colorUtils = require "abase-color"
|
||||
local c = require "abase-color"
|
||||
|
||||
-- recolors all layers in the current sprite
|
||||
local function RecolorLayers()
|
||||
for i, layer in ipairs(app.sprite.layers) do
|
||||
colorUtils.SetColor(layer)
|
||||
c.SetColor(layer)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue