changes
This commit is contained in:
@@ -10,6 +10,6 @@ accessorFunc(EShape, "_color", "Color", Color(255, 255, 255))
|
||||
accessorFunc(EShape, "_hoveredColor", "HoveredColor", Color(150, 150, 150))
|
||||
|
||||
function EShape:paint(x, y, w, h)
|
||||
render.setColor(self:isHovered() and self:getHoveredColor() or self:getColor())
|
||||
render.setColor(self:getColor())
|
||||
render.drawRectFast(x, y, w, h)
|
||||
end
|
||||
Reference in New Issue
Block a user