diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ebc9f2..68cfdbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,3 +77,7 @@ 1.0.18 - added missing change log for version 1.0.17 + +1.0.19 + - fixed nulll check for theme options in the demos + - removed extranious variable from the drawLink method diff --git a/demo_app/src/demos/ThemeEventsReset/ThemeEventsReset.tsx b/demo_app/src/demos/ThemeEventsReset/ThemeEventsReset.tsx index c813426..8f0ba3f 100644 --- a/demo_app/src/demos/ThemeEventsReset/ThemeEventsReset.tsx +++ b/demo_app/src/demos/ThemeEventsReset/ThemeEventsReset.tsx @@ -36,7 +36,7 @@ export default function ThemeEventsReset() {
See the JavaScript console for example events.
Select A theme: { - if(changes!==null) MergeMapChanges(changes,data) + if(changes!=null) MergeMapChanges(changes,data) console.log(data); setTheme(e.target.value); }} name="theme"> diff --git a/package.json b/package.json index cdff4a8..3f9b8f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linked-bundle-node-map", - "version": "1.0.18", + "version": "1.0.19", "types": "dist/LinkedBundleNodeMap.d.ts", "funding": "https://github.com/sponsors/akalinux", "homepage": "https://github.com/akalinux/linked-bundle-node-map", diff --git a/src/Calculator.ts b/src/Calculator.ts index 9a7e573..1dbe76e 100644 --- a/src/Calculator.ts +++ b/src/Calculator.ts @@ -541,7 +541,6 @@ export default class Calculator extends CalculatorBase { links: [], bundles: [], } - const tick=this.tick for (let i = 0; i < l.length; ++i) { const link = l[i]; const r = o + i * incBy; @@ -586,7 +585,6 @@ export default class Calculator extends CalculatorBase { } } } - this.tick=tick const se = this.getXY(c.x, c.y, boxR, sa); const sw = this.getXY(p.x, p.y, boxR, sa); const bl = ls.bl = [] as { c: Cordinate, b: string }[];