diff --git a/src/elements/Image.lua b/src/elements/Image.lua index 6ff35d7..19f6d38 100644 --- a/src/elements/Image.lua +++ b/src/elements/Image.lua @@ -338,6 +338,11 @@ function Image:addFrame() return self end +--- Updates the specified frame with the provided data +--- @shortDescription Updates the specified frame with the provided data +--- @param frameIndex number The index of the frame to update +--- @param frame table The new frame data +--- @return Image self The Image instance function Image:updateFrame(frameIndex, frame) local frames = self.get("bimg") frames[frameIndex] = frame diff --git a/tools/generate-annotations.lua b/tools/generate-annotations.lua index 818ca44..7e6f92d 100644 --- a/tools/generate-annotations.lua +++ b/tools/generate-annotations.lua @@ -280,7 +280,6 @@ local function mergeTables(t1, t2) return merged end -local log = require(".Basalt2/src/log") local function parseFiles(files) local finalContent = {} for k,v in pairs(files)do