Skip to content

Commit 677de34

Browse files
authored
Fix fullscreen button tooltip
1 parent e494249 commit 677de34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/graph_notebook/widgets/src/force_widget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ export class ForceView extends DOMWidgetView {
10981098
this.detailsPanel.style.top =
10991099
(detailsTop / 650) * window.innerHeight + "px";
11001100
this.expandBtn.innerHTML = feather.icons["minimize-2"].toSvg();
1101-
this.expandBtn.title = "Minimize";
1101+
this.expandBtn.title = "Exit Fullscreen";
11021102
} else {
11031103
this.detailsPanel.style.left =
11041104
(detailsLeft / window.innerWidth) * 650 + "px";
@@ -1111,7 +1111,7 @@ export class ForceView extends DOMWidgetView {
11111111
console.log(newTop);
11121112

11131113
this.expandBtn.innerHTML = feather.icons["maximize-2"].toSvg();
1114-
this.expandBtn.title = "Exit Fullscreen";
1114+
this.expandBtn.title = "Fullscreen";
11151115
document.removeEventListener("fullscreenchange", fullscreenchange);
11161116
}
11171117
this.expandBtn.classList.toggle("active");

0 commit comments

Comments
 (0)