Added Selection menu

Also fixed a few minor bugs.
This commit is contained in:
unsettledgames
2020-06-06 21:44:52 +02:00
parent a252d396c6
commit 0fc1df1650
5 changed files with 42 additions and 15 deletions

View File

@@ -103,6 +103,21 @@ for (var i = 1; i < mainMenuItems.length; i++) {
case 'Add color':
addColor('#eeeeee');
break;
// SELECTION MENU
case 'Paste':
pasteSelection();
break;
case 'Copy':
copySelection();
tool.pencil.switchTo();
break;
case 'Cut':
cutSelectionTool();
tool.pencil.switchTo();
break;
case 'Cancel':
tool.pencil.switchTo();
break;
//Help Menu
case 'Settings':