Skip to content

Commit d8d4c11

Browse files
committed
toggleSize nor returns boolean - isMinimize
1 parent fa68a68 commit d8d4c11

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

app/build/mojs-curve-editor.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ return /******/ (function(modules) { // webpackBootstrap
162162
}, {
163163
key: '_vars',
164164
value: function _vars() {
165-
this.revision = '1.5.0';
165+
this.revision = '1.6.1';
166166
this.store = (0, _store2.default)();
167167

168168
this._easings = [];
@@ -390,6 +390,7 @@ return /******/ (function(modules) { // webpackBootstrap
390390

391391

392392
controls.isMinimize ? this.maximize() : this.minimize();
393+
return controls.isMinimize;
393394
}
394395

395396
/* Destroys the app and ensures the `componentWillUnmount` is called

app/build/mojs-curve-editor.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@
7272
// onChange(path) { console.log(path); },
7373
// isHiddenOnMin: true
7474
});
75-
76-
// setTimeout( () => {
77-
// curveEditor.destroy();
78-
// }, 5000 );
79-
80-
8175
</script>
8276

8377
</body>

app/js/app.babel.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class API {
4545
}
4646

4747
_vars () {
48-
this.revision = '1.6.0';
48+
this.revision = '1.6.1';
4949
this.store = initStore();
5050

5151
this._easings = [];
@@ -216,6 +216,7 @@ class API {
216216
const {controls} = state;
217217

218218
controls.isMinimize ? this.maximize() : this.minimize();
219+
return controls.isMinimize;
219220
}
220221

221222
/* Destroys the app and ensures the `componentWillUnmount` is called

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mojs-curve-editor",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "mojs GUI for editing easing/property curves",
55
"keywords": [
66
"mojs",

0 commit comments

Comments
 (0)