mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 16:55:55 +00:00
An inactive document tab shows the document's name, the view number and the unsaved-changes mark, without the zoom and the mode in parentheses (the color mode and view, or the opacity mask being edited). The active tab keeps its whole title, and an inactive tab's tooltip shows the whole title. In a 1000 pt window with twelve short-named documents, 7 tabs fit whole instead of 3. Tests that found tabs by the " @ " of their titles now find them by the document's name, and the overflow tests use longer names so that a tab still overflows. Tests that drag back to a tab read its place again after another tab becomes current, since the current tab is wider, and one of them checks that the pointer stays over the tab it switched to. The drag along the strip in the tear-off test stays short of the next tab's middle, and the reorder test checks that a long drag along the strip floats no document.