You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The width attribute of a segment is calculated using the first and last index of the segment: at line 106 of frontend/src/components/timeline.js
.attr("width", s.end * xStep - s.start * xStep)
As these indexes are inclusive the width is one step too small. As an example if a face appear on frame 1, 2, and 3 the segment will have a width corresponding of two steps while the face actually appears on 3 frames (three steps).
We propose to change that line to: .attr("width", (s.end + 1) * xStep - s.start * xStep)
The text was updated successfully, but these errors were encountered:
The width attribute of a segment is calculated using the first and last index of the segment: at line 106 of frontend/src/components/timeline.js
.attr("width", s.end * xStep - s.start * xStep)
As these indexes are inclusive the width is one step too small. As an example if a face appear on frame 1, 2, and 3 the segment will have a width corresponding of two steps while the face actually appears on 3 frames (three steps).
We propose to change that line to:
.attr("width", (s.end + 1) * xStep - s.start * xStep)
The text was updated successfully, but these errors were encountered: