Skip to content

Conversation

@russmatney
Copy link

These were not implemented correctly. Works now as long as you set them
before creating the widgets in update(), something like:

local suit = require('suit')

function love.update()
	suit.setHovered("Button A")

	suit.Button("Button A", 5, 5, 100, 20)
	suit.Button("Button B", 5, 30, 100, 20)
end

function love.draw()
  suit.draw()
end

Related: #41

These were not implemented correctly. Works now as long as you set them
before creating the widgets in update().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant