Skip to content

Commit

Permalink
Fix onDrawBorder event
Browse files Browse the repository at this point in the history
  • Loading branch information
polypoyo committed Nov 7, 2024
1 parent c46a2d6 commit a60738d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/registry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@ function Registry.createBorder(id, ...)
if texture then
return ImageBorder(texture,id)
end
return Border()
local border = Border()
border.id = id
return border
end
end

Expand Down

0 comments on commit a60738d

Please sign in to comment.