diff --git a/extra/ui/gadgets/menus/menus.factor b/extra/ui/gadgets/menus/menus.factor index 4f815bc33d..2d7af47396 100644 --- a/extra/ui/gadgets/menus/menus.factor +++ b/extra/ui/gadgets/menus/menus.factor @@ -48,6 +48,7 @@ M: menu-glass layout* gadget-child prefer ; faint-boundary ; : ( hook target commands -- gadget ) - [ - [ >r 2dup r> gadget, ] each 2drop - ] make-filled-pile 5 menu-theme ; + + -roll + [ add-gadget ] with with each + 5 menu-theme ;