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

14 lines
273 B
Lua

local layerUtils = require "abase-layer"
-- recolors all layers in the current sprite
local function RecolorLayers()
for i, layer in ipairs(app.sprite.layers) do
layerUtils.SetColor(layer)
end
end
local export = {
RecolorLayers = RecolorLayers,
}
return export