Skip to content

Commit

Permalink
build: v2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
SSShooter committed Jul 17, 2023
1 parent 0948aad commit 0ab12ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mind-elixir",
"version": "2.0.5",
"version": "2.0.6",
"description": "Mind elixir is a free open source mind map core.",
"keywords": [
"mind-elixir",
Expand Down
2 changes: 1 addition & 1 deletion src/index.lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ MindElixir.SIDE = SIDE
* @memberof MindElixir
* @static
*/
MindElixir.version = '2.0.5'
MindElixir.version = '2.0.6'
MindElixir.E = findEle

export default MindElixir
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ MindElixir.SIDE = SIDE
* @memberof MindElixir
* @static
*/
MindElixir.version = '2.0.5'
MindElixir.version = '2.0.6'
MindElixir.E = findEle

/**
Expand Down
1 change: 1 addition & 0 deletions src/interact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ export const scale: Scale = function (scaleVal) {
// TODO: recalculate the position of the map
// plan A: use transform-origin
// plan B: use transform: translate
// https://github.com/markmap/markmap/blob/e3071bc34da850ed7283b7d5b1a79b6c9b631a0e/packages/markmap-view/src/view.tsx#L640
this.scaleVal = scaleVal
this.map.style.transform = 'scale(' + scaleVal + ')'
}
Expand Down

0 comments on commit 0ab12ac

Please sign in to comment.