Skip to content

Commit 152e0b4

Browse files
committed
issue doxygen#11587 Page outline navigation panel Glitch
1 parent 8ca5feb commit 152e0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/html/navtree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ function initNavTree(toroot,relpath,allMembersFile) {
517517
}
518518

519519
function constrainPanelWidths(leftPanelWidth,rightPanelWidth,dragLeft) {
520-
const contentWidth = container.width()-leftPanelWidth-rightPanelWidth;
520+
const contentWidth = Math.round(container.width())-leftPanelWidth-rightPanelWidth;
521521
const minContentWidth = $TREEVIEW_WIDTH;
522522
const minPanelWidth = barWidth;
523523
if (contentWidth<minContentWidth) // need to shrink panels

0 commit comments

Comments
 (0)