Skip to content

Bug in theme.lua #57

@ScottAlexanderCameron

Description

@ScottAlexanderCameron

Function drawBox() in theme.lua references a global opt. opt should be passed as an argument, just as in the rest of the functions

function theme.drawBox(x,y,w,h, colors, cornerRadius)
	colors = colors or theme.getColorForState(opt) -- global opt is nil
	-- draw box
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions