User can drag the blockchain blocks horizontally with the mouse

This commit is contained in:
nymkappa
2021-12-19 15:20:21 +09:00
parent 6459b554ff
commit 8205dbedb0
9 changed files with 56 additions and 7 deletions

View File

@@ -89,6 +89,8 @@ export class StateService {
markBlock$ = new ReplaySubject<MarkBlockState>();
keyNavigation$ = new Subject<KeyboardEvent>();
blockScrolling$: Subject<boolean> = new Subject<boolean>();
constructor(
@Inject(PLATFORM_ID) private platformId: any,
private router: Router,
@@ -176,4 +178,8 @@ export class StateService {
if (!prop) { return false; }
return document[prop];
}
setBlockScrollingInProgress(value: boolean) {
this.blockScrolling$.next(value);
}
}