Fixed a rendering issue on the book reader with long absolute positioned images causing a 2 tone background color in dark book reader (#770)

This commit is contained in:
Joseph Milazzo 2021-11-18 10:59:07 -06:00 committed by GitHub
parent b76fd1db22
commit 6bbe9d7a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View File

@ -137,8 +137,7 @@ namespace API.Services.Tasks
await _unitOfWork.RollbackAsync(); await _unitOfWork.RollbackAsync();
} }
// Tell UI that this series is done // Tell UI that this series is done
await _messageHub.Clients.All.SendAsync(SignalREvents.ScanSeries, MessageFactory.ScanSeriesEvent(seriesId, series.Name), await _messageHub.Clients.All.SendAsync(SignalREvents.ScanSeries, MessageFactory.ScanSeriesEvent(seriesId, series.Name), token);
cancellationToken: token);
await CleanupDbEntities(); await CleanupDbEntities();
BackgroundJob.Enqueue(() => _cacheService.CleanupChapters(chapterIds)); BackgroundJob.Enqueue(() => _cacheService.CleanupChapters(chapterIds));
BackgroundJob.Enqueue(() => _metadataService.RefreshMetadataForSeries(libraryId, series.Id, false)); BackgroundJob.Enqueue(() => _metadataService.RefreshMetadataForSeries(libraryId, series.Id, false));

View File

@ -111,9 +111,6 @@
<ng-container [ngTemplateOutlet]="actionBar"></ng-container> <ng-container [ngTemplateOutlet]="actionBar"></ng-container>
</div> </div>
</div> </div>
<!-- <div *ngIf="page !== undefined && scrollbarNeeded">
<ng-container [ngTemplateOutlet]="actionBar"></ng-container>
</div> -->
<ng-template #actionBar> <ng-template #actionBar>
<div class="reading-bar row no-gutters justify-content-between"> <div class="reading-bar row no-gutters justify-content-between">

View File

@ -887,7 +887,7 @@ export class BookReaderComponent implements OnInit, AfterViewInit, OnDestroy {
} }
getDarkModeBackgroundColor() { getDarkModeBackgroundColor() {
return this.darkMode ? '#010409' : '#fff'; return this.darkMode ? '#292929' : '#fff';
} }
setOverrideStyles() { setOverrideStyles() {