Revert "align block arrows & reposition selected block pool tag"

This commit is contained in:
softsimon
2024-07-10 21:51:04 +09:00
committed by GitHub
parent 7721fde7b6
commit d02a67766d
5 changed files with 11 additions and 29 deletions

View File

@@ -5,7 +5,6 @@ import { specialBlocks } from '../../app.constants';
import { BlockExtended } from '../../interfaces/node-api.interface';
import { Location } from '@angular/common';
import { CacheService } from '../../services/cache.service';
import { nextTick } from 'process';
interface BlockchainBlock extends BlockExtended {
placeholder?: boolean;
@@ -59,7 +58,6 @@ export class BlockchainBlocksComponent implements OnInit, OnChanges, OnDestroy {
arrowLeftPx = 30;
blocksFilled = false;
arrowTransition = '1s';
animatePoolTag = false;
timeLtrSubscription: Subscription;
timeLtr: boolean;
@@ -188,9 +186,6 @@ export class BlockchainBlocksComponent implements OnInit, OnChanges, OnDestroy {
.subscribe((state) => {
this.markHeight = undefined;
if (state.blockHeight !== undefined) {
nextTick(() => {
this.animatePoolTag = true;
});
this.markHeight = state.blockHeight;
}
this.moveArrowToPosition(false);