Closed shepelevstas closed 4 years ago
I've found the solution! =D My bad: a noobie mistake - didn't know about Html.Keyed.node
and Html.Lazy.lazy
!
For the future, I would recommend you post your code to an Ellie when you open an issue, that way it is easier to know what is going on for anyone looking at this 👍
Hello! First of all - Great package!!! Thanks you!!! =D
In my Model I have
List {texture:Canvas.Texture, id:Int}
when I delete on of textures with{ model | textures = List.filter (.id >> (/=) delete_id) model.textures }
in update function - all canvases (drawn withList.map drawCanvas model.textures
) that have greaterid
than the deleted one - become blank. They are redrawn as soon as I mouseover one of canvases. Am I doing it wrong? Or is it a bug? Are there any workarounds?Thank you!