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.

1 Like

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.

1 Like

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.

2 Likes

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

1 Like

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

2 Likes

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:

1 Like