cyberpunk2020 icon indicating copy to clipboard operation
cyberpunk2020 copied to clipboard

Style & Origin tab in lifestyle doesn't initially highlight

Open OctarineSourcerer opened this issue 3 years ago • 2 comments

See, the thing is, it IS what appears, with no further changes needed, so it's not a particularly big issue. image

But the tab itself doesn't get the "active" class, and therefore doesn't show up with a black background. Which is super weird, and might be a Foundry bug; I've had a look at the code for the main section tabs and the lifepath tabs, and I can't see any real difference in either lifepath.hbs or CyberpunkActorSheet.defaultOptions(). I suspect if it is a Foundry bug, it might be due to the fact that the tabs are nested.

Once the sheet is closed then reopened, the tab does have the active class, and appears as normal. If the order of the tabs is changed in lifepath.hbs, style is still the first selected, so it seems tab-setting itself still works.

OctarineSourcerer avatar Dec 31 '21 18:12 OctarineSourcerer