advanced-spritesheet-export/abase-listeners.lua

14 lines
273 B
Lua
Raw Normal View History

2024-07-30 23:55:01 +00:00
local layerUtils = require "abase-layer"
-- recolors all layers in the current sprite
local function RecolorLayers()
for i, layer in ipairs(app.sprite.layers) do
2024-07-30 23:55:01 +00:00
layerUtils.SetColor(layer)
end
end
local export = {
RecolorLayers = RecolorLayers,
}
return export