Merge pull request #938 from hong4rc/ui

fix: show ball in bottom window
This commit is contained in:
Peter Cottle 2022-02-27 09:51:17 -07:00 committed by GitHub
commit 6f7bf6a39e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 8 deletions

View file

@ -113,7 +113,6 @@ var buildIndex = function(done) {
if (process.env.CI) {
writeFileSync('build/index.html', outputIndex);
copyRecursiveSync('assets', 'build/assets');
copyRecursiveSync('lib', 'build/lib');
} else {
writeFileSync('index.html', outputIndex);
}

File diff suppressed because one or more lines are too long

View file

@ -394,7 +394,7 @@ var VisNode = VisBase.extend({
var y = circle.attr('cy');
var maxWidth = this.gitVisuals.paper.width;
var maxHeight = this.gitVisuals.paper.height;
var maxHeight = this.gitVisuals.paper.height - circle.attrs.r;
var elasticity = 0.8 / speed;
var dt = 1.0;