Skip to content

bug: Slider does not work with autoupdate #116

Description

@Vac1911

Describe the bug
Slider throws error in latest release after calling basalt.autoUpdate.

The error happens on line 138 of Slider

self:addText(index, oby, symbol:rep(symbolSize))

To Reproduce

local basalt = require("basalt")
local main = basalt.createFrame()
local slider = main:addSlider():setBarType("horizontal")

basalt.autoUpdate()

Expected behavior

No error

Screenshots
computer-2024-07-27_12-29

I am running the latest version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions