mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-04 19:41:51 -05:00
a25dcda304
A library enabled in a file that couldn't be read (its file no longer publishing a library, gone, or holding another library now) was left out of the style and variable pickers without a word. Its styles and variables weren't listed and the one a layer used wasn't marked, so it looked as if the file had lost them; only the Assets panel's library list said why. Both pickers now open with a line per such library above the list: "<library> isn't connected, so its styles and variables aren't listed: <reason>", the reason being the one the Assets panel gives. It is drawn in the error colour and is a label for screen readers, so the colour isn't the only sign. A library not read yet says nothing, since it is on its way. Tests: unconnected_library_tests (2).