mirror of
https://github.com/penpot/penpot.git
synced 2026-11-26 21:00:32 +00:00
* 🐛 Keep context menu submenus inside the window A submenu opens at the height of its entry, so one opened from an entry near the bottom of the window ran past it and its last entries could not be reached. It now moves up to end 8px above the window's bottom. Signed-off-by: Florian Schroedl <flo.schroedl@gmail.com> Signed-off-by: Thomas Ramé <thomas@rame.fr> * 🐛 Keep nested context submenus inside the window * ♻️ Compute the context submenu position in a testable function --------- Signed-off-by: Florian Schroedl <flo.schroedl@gmail.com> Signed-off-by: Thomas Ramé <thomas@rame.fr> Co-authored-by: Florian Schroedl <flo.schroedl@gmail.com>