File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " mind-elixir" ,
3- "version" : " 3.3.0 " ,
3+ "version" : " 3.3.1 " ,
44 "type" : " module" ,
55 "description" : " Mind elixir is a free open source mind map core." ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ MindElixir.DARK_THEME = DARK_THEME
128128 * @memberof MindElixir
129129 * @static
130130 */
131- MindElixir . version = '3.3.0 '
131+ MindElixir . version = '3.3.1 '
132132/**
133133 * @function
134134 * @memberof MindElixir
Original file line number Diff line number Diff line change @@ -215,7 +215,11 @@ export const unselectSummary = function (this: MindElixirInstance) {
215215export const renderSummary = function ( this : MindElixirInstance ) {
216216 this . summarySvg . innerHTML = ''
217217 this . summaries . forEach ( summary => {
218- drawSummary ( this , summary )
218+ try {
219+ drawSummary ( this , summary )
220+ } catch ( e ) {
221+ console . warn ( 'Node may not be expanded' )
222+ }
219223 } )
220224 this . nodes . insertAdjacentElement ( 'beforeend' , this . summarySvg )
221225}
You can’t perform that action at this time.
0 commit comments