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
Merge remote-tracking branch 'origin/v4' into v4
flowchartTest
jos
9 years ago
parent
7e0961ae73
bbb317bb22
commit
4f4fa3f37b
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
lib/network/modules/Canvas.js
+1
-0
lib/network/modules/CanvasRenderer.js
+ 1
- 0
lib/network/modules/Canvas.js
View File
@ -38,6 +38,7 @@ class Canvas {
this
.
body
.
view
.
translation
.
y
=
obj
.
height
*
0.5
;
}
}
)
;
this
.
body
.
emitter
.
on
(
"setSize"
,
this
.
setSize
.
bind
(
this
)
)
;
this
.
body
.
emitter
.
on
(
"destroy"
,
(
)
=>
{
this
.
hammerFrame
.
destroy
(
)
;
this
.
hammer
.
destroy
(
)
;
+ 1
- 0
lib/network/modules/CanvasRenderer.js
View File
@ -111,6 +111,7 @@ class CanvasRenderer {
*
chart
will
be
resized
too
.
*
/
redraw
(
)
{
this
.
body
.
emitter
.
emit
(
'setSize'
)
;
this
.
_redraw
(
)
;
}
Write
Preview
Loading…
Cancel
Save