From 01615e8c59c5fad778683cfb16bf043f7e3b2161 Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Mon, 4 Dec 2017 13:59:09 -0500
Subject: [PATCH] Make the declaration block immovable

---
 src/containers/custom-procedures.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/containers/custom-procedures.jsx b/src/containers/custom-procedures.jsx
index 002a5c4b7..b7df8793b 100644
--- a/src/containers/custom-procedures.jsx
+++ b/src/containers/custom-procedures.jsx
@@ -39,6 +39,7 @@ class CustomProcedures extends React.Component {
 
         // Create the procedure declaration block for editing the mutation.
         this.mutationRoot = this.workspace.newBlock('procedures_declaration');
+        this.mutationRoot.setMovable(false);
         this.workspace.addChangeListener(() => {
             this.mutationRoot.onChangeFn();
             // Keep the block centered on the workspace
-- 
GitLab