From 898f03cc3b8a7261104730518a6cf1b6eae9f6f5 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 27 May 2017 00:52:28 -0700 Subject: 3881 - allow students to turn sandboxes into recipes Thanks Juan Crispin Hernandez for the suggestion. --- sandbox/005-sandbox.mu | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'sandbox') diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu index 0be2ca31..b0b28ead 100644 --- a/sandbox/005-sandbox.mu +++ b/sandbox/005-sandbox.mu @@ -314,16 +314,10 @@ def render-sandbox-menu screen:&:screen, sandbox-index:num, left:num, right:num print screen, sandbox-index, 232/dark-grey, 245/grey start-buttons:num <- subtract edit-button-left, 1 clear-line-until screen, start-buttons, 245/grey - print screen, [edit], 232/black, 94/background-orange - clear-line-until screen, edit-button-right, 94/background-orange - _, col:num <- cursor-position screen - at-start-of-copy-button?:bool <- equal col, copy-button-left - assert at-start-of-copy-button?, [aaa] + print screen, [edit], 232/black, 25/background-blue + clear-line-until screen, edit-button-right, 25/background-blue print screen, [copy], 232/black, 58/background-green clear-line-until screen, copy-button-right, 58/background-green - _, col:num <- cursor-position screen - at-start-of-delete-button?:bool <- equal col, delete-button-left - assert at-start-of-delete-button?, [bbb] print screen, [delete], 232/black, 52/background-red clear-line-until screen, right, 52/background-red ] -- cgit 1.4.1-2-gfad0