-
-
Notifications
You must be signed in to change notification settings - Fork 16
Description
This essentially effects button icons, images, anything like that. I have set up a test project where it initially creates a render target and sets the haxeui data to it. It appears to render. It sets the icon of a button to the image and it sets the resource of an image to the render target. However, if you press the button it basically repeats the exact same thing but any subsequent presses of the button will render the graphics as nothing.
Expected Behavior
Updating the icon/image-resource should not cause the graphics to null.
Current Behavior
Pressing the button after the initial load causes the graphics to become null.
Steps to Reproduce (for bugs)
Code included.
- Create a render target, set image resource to it
- Repeat this step in an event, like a button press
Context
This may be causing problems elsewhere with Kha as I'm seeing other graphical glitches in my main app that seem somewhat similar in concept but not directly related HaxeUI. But for HaxeUI we should expect to be able to change the graphics of images or icons without them clearing.
Your Environment
- Version used: latest
- Environment name and version (e.g. Chrome 39, node.js 5.4): Chrome Debugger
- Operating System and version (desktop or mobile): Windows 10