ui.gadgets.menus: rewrite to not use 'gadget,'
							parent
							
								
									16fbd3c3a6
								
							
						
					
					
						commit
						1d8f7c5a89
					
				| 
						 | 
					@ -48,6 +48,7 @@ M: menu-glass layout* gadget-child prefer ;
 | 
				
			||||||
    faint-boundary ;
 | 
					    faint-boundary ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
: <commands-menu> ( hook target commands -- gadget )
 | 
					: <commands-menu> ( hook target commands -- gadget )
 | 
				
			||||||
    [
 | 
					  <filled-pile>
 | 
				
			||||||
        [ >r 2dup r> <menu-item> gadget, ] each 2drop
 | 
					  -roll
 | 
				
			||||||
    ] make-filled-pile 5 <border> menu-theme ;
 | 
					    [ <menu-item> add-gadget ] with with each
 | 
				
			||||||
 | 
					  5 <border> menu-theme ;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue