aboutsummaryrefslogtreecommitdiff
path: root/js/document/html-document.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/document/html-document.js')
-rwxr-xr-xjs/document/html-document.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 8798b407..c36e61d5 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -623,6 +623,8 @@ exports.HTMLDocument = Montage.create(TextDocument, {
623 if(typeof this.application.ninja.selectedElements !== 'undefined'){ 623 if(typeof this.application.ninja.selectedElements !== 'undefined'){
624 this.selectionModel = this.application.ninja.selectedElements; 624 this.selectionModel = this.application.ninja.selectedElements;
625 } 625 }
626
627 this.draw3DGrid = this.application.ninja.appModel.show3dGrid;
626 } 628 }
627 }, 629 },
628 630
@@ -644,6 +646,8 @@ exports.HTMLDocument = Montage.create(TextDocument, {
644 this.application.ninja.stage._scrollLeft = this.savedTopScroll; 646 this.application.ninja.stage._scrollLeft = this.savedTopScroll;
645 } 647 }
646 this.application.ninja.stage.handleScroll(); 648 this.application.ninja.stage.handleScroll();
649
650 this.application.ninja.appModel.show3dGrid = this.draw3DGrid;
647 } 651 }
648 } 652 }
649 //////////////////////////////////////////////////////////////////// 653 ////////////////////////////////////////////////////////////////////