This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
Browse Source
Move showManipulationToolbar outside of if statement (
#3694
)
develop
Tasman Drake
7 years ago
committed by
Yotam Berkowitz
parent
23858aa0ea
commit
4d1af99987
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/network/modules/ManipulationSystem.js
+ 1
- 1
lib/network/modules/ManipulationSystem.js
View File
@ -1156,8 +1156,8 @@ class ManipulationSystem {
this
.
options
.
addNode
(
defaultData
,
(
finalizedData
)
=>
{
if
(
finalizedData
!==
null
&&
finalizedData
!==
undefined
&&
this
.
inMode
===
'addNode'
)
{
// if for whatever reason the mode has changes (due to dataset change) disregard the callback
this
.
body
.
data
.
nodes
.
getDataSet
(
)
.
add
(
finalizedData
)
;
this
.
showManipulatorToolbar
(
)
;
}
this
.
showManipulatorToolbar
(
)
;
}
)
;
}
else
{
Write
Preview
Loading…
Cancel
Save