Container becomes 50% transparent when dragged

31 Views Asked by At

I tried dragging containers, but when dragged they become 50% transparent. When dropped, they become normal again.

How can I avoid this? So that they stay fully opaque during all the dragging process

I don't have any code to provide as it's simply a question.

Thanks

1

There are 1 best solutions below

0
Shai Almog On BEST ANSWER

This is done here. You can override the method to change the behavior but that seems redundant for such a small change.

That's why I made this change which after the Friday update (March 22, 2024) will let you write this:

Component.setDefaultDragTransparency((byte)255);