From 92088be21bf3711d91bcfd802860eb3bd931b850 Mon Sep 17 00:00:00 2001 From: Alexander Wunschik Date: Tue, 21 Mar 2017 20:28:46 +0100 Subject: [PATCH 1/2] added @wimrijnders to the support team (#2886) --- misc/we_need_help.md | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/we_need_help.md b/misc/we_need_help.md index 7eb941bc..bba818a2 100644 --- a/misc/we_need_help.md +++ b/misc/we_need_help.md @@ -16,3 +16,4 @@ If you have shown some commitment to the project you can ask [@ludost](//github. * [@Tooa](//github.com/Tooa) * [@eymiha](//github.com/eymiha) * [@bradh](//github.com/bradh) +* [@wimrijnders](//github.com/wimrijnders) From 1901a3ec9d8c9ca8acb1119c86734fae4afa78b8 Mon Sep 17 00:00:00 2001 From: yotamberk Date: Tue, 21 Mar 2017 22:13:31 +0200 Subject: [PATCH 2/2] Visible items bug (#2878) * Fix redraw order * Fix error when option is not defined * Allow template labels * Add .travis.yml file * Add experiment travis code * Fix react example * Fix getVisibleItems method * Remove console log --- lib/timeline/component/ItemSet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timeline/component/ItemSet.js b/lib/timeline/component/ItemSet.js index a278fba9..23798ecf 100644 --- a/lib/timeline/component/ItemSet.js +++ b/lib/timeline/component/ItemSet.js @@ -546,7 +546,7 @@ ItemSet.prototype.getVisibleItems = function() { for (var groupId in this.groups) { if (this.groups.hasOwnProperty(groupId)) { var group = this.groups[groupId]; - var rawVisibleItems = group.visibleItems; + var rawVisibleItems = group.isVisible ? group.visibleItems : []; // filter the "raw" set with visibleItems into a set which is really // visible by pixels