diff -r 08d121184a38 -r 7d374d366b28 client/js/main.js --- a/client/js/main.js Wed Sep 09 14:06:02 2015 +0200 +++ b/client/js/main.js Wed Sep 09 18:37:15 2015 +0200 @@ -117,9 +117,9 @@ }); this.read_only = this.options.read_only || !this.options.editor_mode; - + this.router = new Rkns.Router(); - + this.project = new Rkns.Models.Project(); this.dataloader = new Rkns.DataLoader.Loader(this.project, this.options); @@ -563,8 +563,7 @@ _path.segments[4].point.y = _path.segments[5].point.y = _bottom; _path.segments[1].point.y = _coords.y - _options.tooltip_arrow_width / 2; _path.segments[6].point.y = _coords.y + _options.tooltip_arrow_width / 2; - _path.closed = true; - _path.fillColor = new paper.GradientColor(new paper.Gradient([_options.tooltip_top_color, _options.tooltip_bottom_color]), [0, _top], [0, _bottom]); + _path.fillColor = new paper.Color(new paper.Gradient([_options.tooltip_top_color, _options.tooltip_bottom_color]), [0, _top], [0, _bottom]); _selector.css({ left: (_options.tooltip_padding + Math.min(_left, _right)), top: (_options.tooltip_padding + _top)