bug: Slider does not work with autoupdate #116

Open
opened 2024-07-28 00:39:49 +08:00 by Vac1911 · 0 comments
Vac1911 commented 2024-07-28 00:39:49 +08:00 (Migrated from github.com)

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

The error happens on line 138 of Slider
8dd8e63d21/Basalt/objects/Slider.lua (L138)

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.

**Describe the bug** Slider throws error in latest release after calling `basalt.autoUpdate`. The error happens on line 138 of Slider https://github.com/Pyroxenium/Basalt/blob/8dd8e63d21752f2fe621b04b9db0aeb155fedf0d/Basalt/objects/Slider.lua#L138 **To Reproduce** ```lua 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](https://github.com/user-attachments/assets/62f64fe1-6992-410d-8d4b-8e80c476763b) **I am running the latest version.**
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GitHub/Basalt#116
No description provided.