Skip to content

Commit

Permalink
dont overpromise in tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
swyxio committed Sep 6, 2023
1 parent 32447e9 commit 5fbbc59
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/pane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function Pane({
{provider.fullName}
<div className="flex">
<XButton
tooltip={`Zoom in: ${CmdOrCtrlKey} + =`}
tooltip={`Zoom in`} //: ${CmdOrCtrlKey} + =`}
onClick={() => {
provider
.getWebview()
Expand All @@ -162,7 +162,7 @@ export default function Pane({
<ZoomInIcon />
</XButton>
<XButton
tooltip={`Zoom out: ${CmdOrCtrlKey} + -`}
tooltip={`Zoom out`} //: ${CmdOrCtrlKey} + -`}
onClick={() => {
provider
.getWebview()
Expand All @@ -173,7 +173,7 @@ export default function Pane({
<ZoomOutIcon />
</XButton>
<XButton
tooltip={`Reset Zoom: ${CmdOrCtrlKey} + 0`}
tooltip={`Reset Zoom`} // : ${CmdOrCtrlKey} + 0`}
onClick={() => {
provider
.getWebview()
Expand All @@ -187,7 +187,7 @@ export default function Pane({
<Input type="url" value={shownUrl || ''} readOnly={true} />
<div className="flex">
<XButton
tooltip={`Reload window: ${CmdOrCtrlKey} + R`}
tooltip={`Reload window`} // : ${CmdOrCtrlKey} + R`}
className="mr-4"
onClick={() => {
const webview = provider.getWebview();
Expand All @@ -201,15 +201,15 @@ export default function Pane({
<ReloadIcon />
</XButton>
<XButton
tooltip={`Go Back: ${CmdOrCtrlKey} + H`}
tooltip={`Go Back`} // : ${CmdOrCtrlKey} + H`}
onClick={() => {
provider.getWebview()?.goBack();
}}
>
<ArrowLeftIcon />
</XButton>
<XButton
tooltip={`Go forward: ${CmdOrCtrlKey} + L`}
tooltip={`Go forward`} // : ${CmdOrCtrlKey} + L`}
onClick={() => {
provider.getWebview()?.goForward();
}}
Expand Down

0 comments on commit 5fbbc59

Please sign in to comment.