Skip to content

Commit b57421f

Browse files
committed
Fix truncated last chromosome in each row in small layout
1 parent 5091b57 commit b57421f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/js/views/draw-chromosomes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ function setOverflowScroll() {
149149
}
150150

151151
ideoWidth = Math.round(ideoWidth * ploidy / config.rows);
152+
if (ideo._layout._class === 'SmallLayout') ideoWidth += 40;
152153

153154
// Ensures absolutely-positioned elements, e.g. heatmap overlaps, display
154155
// properly if ideogram container also has position: absolute

0 commit comments

Comments
 (0)