mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 13:33:51 +00:00
layer.new without `top` or `below` now reads the drawing mode: in Draw Behind the new layer goes directly below the current layer, at its level (a sibling below a current sublayer), as the help page describes (https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=234). The Layers panel button, the panel menu, Ctrl/Cmd+L and the Layer Options dialog all go through layer.new. `top` and `below` keep their meaning in every mode, Draw Normal and Draw Inside keep a new layer above the current one, and New Sublayer is not affected.