Small coroutine fix

This commit is contained in:
Robert Jelic
2025-04-06 06:51:43 +02:00
parent a307f58dfb
commit 0a597e63f1
5 changed files with 18 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ local split = require("libraries/utils").split
---@configDescription The container class. It is a visual element that can contain other elements. It is the base class for all containers
---@configDefault true
--- The Container class serves as a fundamental building block for organizing UI elements. It acts as a parent element that can hold and manage child elements, providing layout management, event propagation, and rendering capabilities. Used as base class for Frames, Windows, and other container-like elements.
--- The Container class serves as a fundamental building block for organizing UI elements. It acts as a parent element that can hold and manage child elements.
--- @usage local container = basalt.getMainFrame()
--- @usage container:addButton() -- Add a child element
---@class Container : VisualElement

View File

@@ -55,6 +55,7 @@ end
--- @param bgCol number The background color of the series
--- @param fgCol number The foreground color of the series
--- @param pointCount number The number of points in the series
--- @return Graph self The graph instance
function Graph:addSeries(name, symbol, bgCol, fgCol, pointCount)
local series = self.get("series")
table.insert(series, {