Combo box buttons don't pass themselves when pressed
cadergator10 opened this issue · 3 comments
cadergator10 commented
Basically a repeat of this one #529
Posting because this returned again
Smok1e commented
All seems fine to me with this example
local GUI = require("GUI")
local system = require("System")
local workspace, window, menu = system.addWindow(GUI.filledWindow(1, 1, 60, 20, 0x242424))
local layout = window:addChild(GUI.layout(1, 1, window.width, window.height, 1, 1))
local comboBox = layout:addChild(GUI.comboBox(1, 1, 36, 3, 0xE1E1E1, 0x696969, 0xD2D2D2, 0xA5A5A5))
comboBox:addItem("test").onTouch = function(workspace, button)
button.text = "pressed"
workspace:draw()
end
workspace:draw()
Make sure of using the latest MineOS version
cadergator10 commented
Yeah scrap what I said. It works now, but idk what had even happened I didn't even update it. It just randomly decided to stop then start working lol
CoolCat467 commented
Intermittent failures are never fun to debug