advanced-spritesheet-export/abase-listeners.lua

14 lines
262 B
Lua
Raw Normal View History

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