Add smoothScroll to scrollLines

This commit is contained in:
tisilent
2023-04-19 15:48:12 +08:00
parent 2fdb46919c
commit b7d73f63cd
3 changed files with 85 additions and 9 deletions
+10
View File
@@ -150,6 +150,16 @@ export interface IViewport extends IDisposable {
handleTouchMove(ev: TouchEvent): boolean;
}
export interface ISmoothScrollState {
startTime: number;
origin: number;
target: number;
}
export interface ISmoothScrollProgressState extends ISmoothScrollState {
progress: number;
}
export interface ILinkifierEvent {
x1: number;
y1: number;