search dictionary

This commit is contained in:
Timo 2020-12-02 12:18:19 +02:00
parent 3aa26c07b6
commit a540eb98d3
2 changed files with 3 additions and 3 deletions

View File

@ -50,8 +50,8 @@
<div class="search-match-text">
{{ currentMatch + '/' + searchPositions.length }}
</div>
<mat-icon svgIcon="red:arrow-down" class="transform-180" (click)="nextSearchMatch()"></mat-icon>
<mat-icon svgIcon="red:arrow-down" (click)="previousSearchMatch()"></mat-icon>
<mat-icon svgIcon="red:arrow-down" class="transform-180 pointer" (click)="nextSearchMatch()"></mat-icon>
<mat-icon svgIcon="red:arrow-down" class="pointer" (click)="previousSearchMatch()"></mat-icon>
<mat-icon svgIcon="red:close" (click)="searchChanged(''); inputElement.value = ''; inputElement.focus()" class="pointer"></mat-icon>
</div>
</div>

View File

@ -29,7 +29,7 @@ export class DictionaryOverviewScreenComponent {
activeSearchMarkers: any[] = [];
searchPositions: any[] = [];
currentMatch: number = 1;
currentMatch = 1;
initialDictionaryEntries: string[] = [];
currentDictionaryEntries: string[] = [];