Box color toggles on Object Picker Window focus

Issue #140 resolved
Johannes P. created an issue

I noticed that when the ReferenceObjecPicker is used, the background of Boxes appears to toggle between focused and unfocused:

ListBackgroundColor.gif

When the asset selection window is brought into focus, the color of the box changes to what I assume is the color intended for when it is not in focus.

However the state does not toggle again when focus is returned upon closing the Object Picker window, resulting in the color flip/flopping each time you open the Object Picker.

If multiple boxes are visible, all of them are affected at once.


Here is the corresponding demo code:

public class Demo : SerializedMonoBehaviour
{
    [BoxGroup] 
    public int Derp;
    [BoxGroup, AssetsOnly]
    public Material Mat;
}

Comments (2)

  1. Log in to comment