@thi.ng/imgui 2.2.40 → 2.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +5 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -112,10 +112,14 @@ offers complete freedom WRT how user state is & can be organized. Also,
|
|
|
112
112
|
things like undo / redo become easier to handle this way.
|
|
113
113
|
|
|
114
114
|
```ts
|
|
115
|
+
import { Atom, History } from "@thi.ng/atom";
|
|
116
|
+
import { toggle } from "@thi.ng/imgui";
|
|
117
|
+
|
|
115
118
|
// example state (see @thi.ng/atom)
|
|
116
119
|
const STATE = new History(new Atom({ foo: true }));
|
|
117
120
|
|
|
118
|
-
|
|
121
|
+
//...IMGUI initialization omitted here
|
|
122
|
+
|
|
119
123
|
// get atom snapshot
|
|
120
124
|
const curr = STATE.deref();
|
|
121
125
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/imgui",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.41",
|
|
4
4
|
"description": "Immediate mode GUI with flexible state handling & data only shape output",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@thi.ng/api": "^8.9.27",
|
|
39
39
|
"@thi.ng/checks": "^3.5.1",
|
|
40
|
-
"@thi.ng/geom": "^6.0.
|
|
41
|
-
"@thi.ng/geom-api": "^3.4.
|
|
42
|
-
"@thi.ng/geom-isec": "^2.1.
|
|
43
|
-
"@thi.ng/geom-tessellate": "^2.1.
|
|
44
|
-
"@thi.ng/layout": "^3.0.
|
|
40
|
+
"@thi.ng/geom": "^6.0.35",
|
|
41
|
+
"@thi.ng/geom-api": "^3.4.73",
|
|
42
|
+
"@thi.ng/geom-isec": "^2.1.115",
|
|
43
|
+
"@thi.ng/geom-tessellate": "^2.1.116",
|
|
44
|
+
"@thi.ng/layout": "^3.0.25",
|
|
45
45
|
"@thi.ng/math": "^5.10.4",
|
|
46
|
-
"@thi.ng/transducers": "^8.9.
|
|
47
|
-
"@thi.ng/vectors": "^7.10.
|
|
46
|
+
"@thi.ng/transducers": "^8.9.9",
|
|
47
|
+
"@thi.ng/vectors": "^7.10.15"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -158,5 +158,5 @@
|
|
|
158
158
|
],
|
|
159
159
|
"year": 2019
|
|
160
160
|
},
|
|
161
|
-
"gitHead": "
|
|
161
|
+
"gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
|
|
162
162
|
}
|