The gui-editor loses all color when the slider width is adjusted

Hi guys, the editor losses all colour when I try to adjust the slider width or height manually, making it difficult to see any of the other components.

interesting. I was playing around with it and couldn’t reproduce it, could you detail the steps to get it to work? so far I:

  1. Added a slider
  2. changed the width, height manually
  3. tried adjusting the size using the gizmo around the control
  4. Entered a different value in width/height

But the editor is still working as expected. If you can screencast or list the steps it would be great, because we obviously want to fix that :slight_smile:

Here’s a video that shows the bug.

Dears,
FYI: As much as I tried (following the steps from the video) I have so far been unable to repro.
I however can mention that while using the Editor (in a more extensive way) I sometimes experienced bugs related to the refreshing. That was about a year ago. Eventually objects would disappear or keep with a ā€˜phantom’ of their old size. I didn’t do anything from the Editor lately so I don’t know if this can still occur. I did my test on chrome/mac only. As I said, nothing to report here.

EDIT: OOps. My apologies. Was missing a step. It’s the circular option causing an exception. Precisely, it occurs when you start to edit the width or height after setting ā€˜circular’. I suspect it’s because it is dynamic and when edited, the first value (of 0/-1?!) is incorrect/unhandled. Definetely, totally CAN REPRO. Absolutely is a bug, in that it generates an error and a break from which you cannot recover.

Thanks! I didn’t get to it yet, and am going to tackle this probably today or tomorrow. we will get to the bottom of this, but nice to know it’s reproduced

make sure radius is always positive or 0 by RaananW Ā· Pull Request #15451 Ā· BabylonJS/Babylon.js (github.com)

Just returned to the editor lately and I can hereby confirm that this one’s fixed :smiley: Thank you :pray: and have a great day :sunglasses: