Skip to content

Commit 3c1df97

Browse files
committed
Adds tooltip to expose shift feature
1 parent 3115830 commit 3c1df97

File tree

1 file changed

+2
-1
lines changed
  • src/webviews/apps/plus/timeline/components

1 file changed

+2
-1
lines changed

src/webviews/apps/plus/timeline/components/slider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ export class GlChartSlider extends GlElement {
7777
.min=${this._min}
7878
.max=${this._max}
7979
.value=${this._value}
80-
tooltip="none"
80+
.tooltip="top"
81+
.tooltipFormatter=${(_: number) => `Hold shift to compare with working tree`}
8182
@sl-change=${this.handleSliderInput}
8283
@sl-input=${this.handleSliderInput}
8384
@click=${this.handleSliderInput}

0 commit comments

Comments
 (0)