flamendless / Slab

An immediate mode GUI for the Love2D framework.
MIT License
289 stars 25 forks source link

[Image] Changing Image object is not updated #98

Closed flamendless closed 2 years ago

flamendless commented 2 years ago
local img = love.graphics.newImage("test.png")
--if theres an event that will change the `img` into another, the Slab.Image is not updated accordingly.
Slab.Image("img", {
  Image = img
})

possible cause of issue is internal caching of Slab