Closed YasserDbeis closed 2 months ago
As I suspected, the issue is that we're reading the right LaF key, but it doesn't exist in Old UI:
The proper fix is to init the DividerStyle
in IntUiBridge not by directly reading Borders.color
, since that only exists in the new UI, but by calling JBColor.border().toComposeColorOrUnspecified()
, since they have a hardcoded default value in there that makes it work on Old UI too.
That's the same thing that the split layout styling does, eventually.
Since it's been a few days, I took the liberty to close this and implement the proper fix in #362
Thank you!
The current color and fallback style create a transparent appearance for the Divider under Classic UI's Darkula theme. This change fixes such issue.
Manually verified that the color is correct for both new and Classic UI in all available themes.