Skip to content

Commit

Permalink
Better naming for "zoom around node" -> "smart zoom"
Browse files Browse the repository at this point in the history
  • Loading branch information
jordibc committed Nov 10, 2023
1 parent 02941a4 commit a867451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/tutorial/tutorial_smartview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Layout tab contains most of the general settings of the tree visualization. It i

- **tooltip on hover**, whether to show tooltip when mouse hover on the node. If *False*, tooltip will be shown on left-click. Default *False*.

- **zoom around node**, If set to True, SmartView restricts the zoom-out level to maintain the node as the focal point, ensuring it remains clearly visible. The default setting is **True**.
- **smart zoom**, If set to True, SmartView will adjust the horizontal and vertical zoom so that the current node under the cursor tends to occupy the full area. The default setting is **True**.

- **zoom in aligned panel**, If set to True, users can zoom in the aligned panel for aligned node faces. The default setting is **False**.

Expand Down
2 changes: 1 addition & 1 deletion ete4/smartview/gui/static/js/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function create_menu_basic(menu, trees) {
menu.addInput(view.tooltip, "auto", { label: "tooltip on hover" });

// zooms
menu.addInput(view, "smart_zoom", { label: "zoom around node" });
menu.addInput(view, "smart_zoom", { label: "smart zoom" });

menu.addInput(view.aligned, "zoom", { label: "zoom in aligned panel" });

Expand Down

0 comments on commit a867451

Please sign in to comment.