Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: typos
  • Loading branch information
Harpush committed Jun 12, 2024
commit 2f3098278b9aa07e7a9f18cbf188f1dea8c81f1c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { SplitComponent } from './split/split.component'
*
* Emulates browser behavior of click and double click with new features:
* 1. Supports touch events (tap and double tap)
* 2. Ignores the first click in a double click with the side effect of a bit slower emission of fast click event
* 2. Ignores the first click in a double click with the side effect of a bit slower emission of the click event
* 3. Allow customizing the delay after mouse down to count another mouse down as a double click
*/
@Directive({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class GutterClickRollUnrollComponent extends AComponent implements AfterV

setTimeout(() => {
if (this.logsEl.nativeElement.scroll) {
;(<HTMLElement>this.logsEl.nativeElement).scroll({ top: this.logMessages.length * 30 })
(<HTMLElement>this.logsEl.nativeElement).scroll({ top: this.logMessages.length * 30 })
}
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export class SplitTransitionsComponent extends AComponent {
this.logMessages.push({ type: 'transitionEnd', text: `${formatDate(new Date())} > transitionEnd event > ${e}` })
setTimeout(() => {
if (this.logsEl.nativeElement.scroll) {
;(<HTMLElement>this.logsEl.nativeElement).scroll({ top: this.logMessages.length * 30 })
(<HTMLElement>this.logsEl.nativeElement).scroll({ top: this.logMessages.length * 30 })
}
})
}
Expand Down