File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,13 @@ const options: Options = {
6464const mind = new MindElixir ( options )
6565
6666const data = MindElixir . new ( 'new topic' )
67- console . log ( data )
6867mind . init ( example )
69- // mind.init(data)
68+
69+ const m2 = new MindElixir ( {
70+ el : '#map2' ,
71+ } )
72+ m2 . init ( data )
73+
7074function sleep ( ) {
7175 return new Promise < void > ( res => {
7276 setTimeout ( ( ) => res ( ) , 1000 )
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import dragMoveHelper from '../utils/dragMoveHelper'
55export default function ( mei : MindElixirInstance ) {
66 const selection = new SelectionArea ( {
77 selectables : [ '.map-container me-tpc' ] ,
8- boundaries : [ '.map- container' ] ,
9- container : '.map- container' ,
8+ boundaries : [ mei . container ] ,
9+ container : mei . container ,
1010 behaviour : {
1111 // Scroll configuration.
1212 scrolling : {
You can’t perform that action at this time.
0 commit comments