advanced-spritesheet-export/abase-listeners.lua
2024-07-30 20:01:45 -04:00

13 lines
272 B
Lua

local colorUtils = 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)
end
end
local export = {
RecolorLayers = RecolorLayers,
}
return export