Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion demo_app/src/demos/ThemeEventsReset/ThemeEventsReset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function ThemeEventsReset() {
<div className='noBlock' style={{ marginLeft: "10px" }}>
See the JavaScript console for example events.<br />
Select A theme: <select value={theme} onChange={e => {
if(changes!==null) MergeMapChanges(changes,data)
if(changes!=null) MergeMapChanges(changes,data)
console.log(data);
setTheme(e.target.value);
}} name="theme">
Expand Down
2 changes: 1 addition & 1 deletion demo_app/src/demos/VariedNodeSize/VariedNodeSize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function VariedNodeSize() {
<div className='noBlock' style={{ marginLeft: "10px" }}>
See the JavaScript console for example events.<br />
Select A theme: <select value={theme} onChange={e => {
if(changes!==null) MergeMapChanges(changes,data)
if(changes!=null) MergeMapChanges(changes,data)
console.log(data);
setTheme(e.target.value);
}} name="theme">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 0 additions & 2 deletions src/Calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 }[];
Expand Down
Loading