From 369063d85d728d72695ce5234f1ad708872f25b8 Mon Sep 17 00:00:00 2001
From: amandaghassaei <amandaghassaei@gmail.com>
Date: Thu, 19 Mar 2015 03:12:28 -0400
Subject: [PATCH] crappy fix for scale issue in preview mode on loaded files

---
 js/models/AppState.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/js/models/AppState.js b/js/models/AppState.js
index 09831a0c..23be9fea 100644
--- a/js/models/AppState.js
+++ b/js/models/AppState.js
@@ -288,6 +288,7 @@ AppState = Backbone.Model.extend({
         dmaGlobals.lattice.clearCells();
         this._setData(JSON.parse(data), true);
         dmaGlobals.lattice._updateLatticeType(null, null, null, true);
+        dmaGlobals.lattice.trigger("change:scale");
     },
 
     saveUser: function(name){
-- 
GitLab