mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 04:22:38 +01:00
Component::FOCUS_SCOPE gives a leaf the scope ContainerProps::focus gives a container, through the leaf shape's focus hook. TextEditor opens a scope that restores (FocusPolicy::TAB_LAYER), so a session that ends hands the focus back to the stop it came from, the canvas, instead of the stop before the editor (the rulers' corner, whose arrows moved the zero point after a commit; photocraft#15555). Regenerates docs/contract-api.md.