Skip to content

Commit

Permalink
[html] disable scrollbars (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
stonier authored Aug 29, 2019
1 parent 3ce66e8 commit df43bdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changelog

Forthcoming
-----------
* ...
* [html] disable scrollbars, `#24 <https://github.com/splintered-reality/py_trees_ros_viewer/pull/24>`_

0.1.2 (2019-08-14)
------------------
Expand Down
3 changes: 2 additions & 1 deletion py_trees_ros_viewer/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<style>
body {
margin: 0;
overflow:hidden;
}
</style>
<body>
Expand All @@ -37,7 +38,7 @@
canvas_graph: canvas_graph,
canvas_paper: canvas_paper,
})

// react to window resizing events
$(window).resize(function() {
py_trees.timeline.scale_content_to_fit(timeline_paper)
Expand Down

0 comments on commit df43bdf

Please sign in to comment.