mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-30 18:27:00 +01:00
Most context menus hang from Anchor::Point (table header, rulers, ribbon, places, versions, dock group menu). layer_covers_anchor decides every case in one place: the pointer, the rect a context request named, and a point for a layer whose key class is OwnerClass::Menu. Point-anchored layers that are not menus (the iconic flyout, a popover at a point) keep their rule. docs/contract-api.md regenerated.