diff --git a/README.md b/README.md
index a1fbfce..2f87ed2 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ A UX for flexbox layout within Illustrator. [Read the blog post](http://westonth
Requires **Illustrator 2015.3** (latest Creative Cloud version).
-1. [Download bloks.zip](https://github.com/WestonThayer/Bloks/releases/download/v0.1.0/bloks.zip)
+1. [Download bloks.zip](https://github.com/WestonThayer/Bloks/releases/download/v0.1.1/bloks.zip)
2. Unzip
3. Copy the `com.westonthayer.bloks` folder to
1. Windows: `C:\Program Files (x86)\Common Files\Adobe\CEP\extensions\`
@@ -20,4 +20,4 @@ Get started by opening a document in Illustrator and going to *Window > Extensio
## Tutorial
-For a quick introduction to how Bloks works, download [BloksTutorial.ai](https://github.com/WestonThayer/Bloks/blob/master/sample-files/BloksTutorial.ai?raw=true). There are a few more [sample files](https://github.com/WestonThayer/Bloks/tree/master/sample-files) as well.
+For a quick introduction to how Bloks works, open `samples/BloksTutorial.ai`.
diff --git a/css/styles.css b/css/styles.css
index 4e7b7df..a266d96 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -36,6 +36,10 @@
margin: 12px 6px 4px;
}
+.bottombuttons .topcoat-checkbox {
+ margin: 6px 0 0 0;
+}
+
.divider {
border-top: 1px solid rgba(0,0,0,0.8);
border-bottom: 1px solid rgba(255,255,255,0.2);
diff --git a/gulpfile.js b/gulpfile.js
index 0ba967f..2e12aa0 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -129,11 +129,17 @@ gulp.task("zxp-plugin-win-32", function() {
.pipe(gulp.dest("release/WIN_32/"));
});
+gulp.task("zxp-samples", function() {
+ return gulp.src("sample-files/*.ai")
+ .pipe(gulp.dest("release/samples/"));
+});
+
gulp.task("zxp",
[
"zxp-html-extension",
"zxp-plugin-mac",
"zxp-plugin-win-64",
- "zxp-plugin-win-32"
+ "zxp-plugin-win-32",
+ "zxp-samples"
]
);
\ No newline at end of file
diff --git a/index.html b/index.html
index 2760f01..1bdaa8d 100644
--- a/index.html
+++ b/index.html
@@ -141,6 +141,11 @@
+
diff --git a/js/main.js b/js/main.js
index 008b895..e84f6d4 100644
--- a/js/main.js
+++ b/js/main.js
@@ -33,6 +33,7 @@
this.isChildSettingsVisible = ko.observable(false);
this.isCreateButtonVisible = ko.observable(false);
this.isLayoutButtonVisible = ko.observable(false);
+ this.isAutoLayoutOn = ko.observable(true);
// Blok settings
this.flex = ko.observable(undefined).extend({ positiveNumeric: 0 });
@@ -257,7 +258,7 @@
BlokScripts.onSelectionChanged(function() {
BlokScripts.getActionsFromSelection(respondToActions);
- if (!isUndo) {
+ if (!isUndo && viewModel.isAutoLayoutOn()) {
BlokScripts.checkSelectionForRelayout();
}