blob: 05a0c7527f769d69b7ad235aa551c1cdab024626 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { injectable } from "tsyringe";
import * as messages from "../../shared/messages";
import MarkUseCase from "../usecases/MarkUseCase";
@injectable()
export default class MarkController {
constructor(private markUseCase: MarkUseCase) {}
scrollTo(message: messages.TabScrollToMessage) {
this.markUseCase.scroll(message.x, message.y);
}
}
|