mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
hide scoll down button when quick keyboard is active
This commit is contained in:
parent
b84e6faea2
commit
553dcff448
1 changed files with 2 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ export class Terminal extends LitElement {
|
||||||
@property({ type: Boolean }) fitHorizontally = false;
|
@property({ type: Boolean }) fitHorizontally = false;
|
||||||
@property({ type: Number }) maxCols = 0; // 0 means no limit
|
@property({ type: Number }) maxCols = 0; // 0 means no limit
|
||||||
@property({ type: Boolean }) disableClick = false; // Disable click handling (for mobile direct keyboard)
|
@property({ type: Boolean }) disableClick = false; // Disable click handling (for mobile direct keyboard)
|
||||||
|
@property({ type: Boolean }) hideScrollButton = false; // Hide scroll-to-bottom button
|
||||||
|
|
||||||
private originalFontSize: number = 14;
|
private originalFontSize: number = 14;
|
||||||
|
|
||||||
|
|
@ -1264,7 +1265,7 @@ export class Terminal extends LitElement {
|
||||||
@click=${this.handleClick}
|
@click=${this.handleClick}
|
||||||
></div>
|
></div>
|
||||||
${
|
${
|
||||||
!this.followCursorEnabled
|
!this.followCursorEnabled && !this.hideScrollButton
|
||||||
? html`
|
? html`
|
||||||
<div
|
<div
|
||||||
class="scroll-to-bottom"
|
class="scroll-to-bottom"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue