Skip to content

Commit

Permalink
menu zoom save fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed Aug 9, 2017
1 parent e8d4d83 commit 7a22217
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.

### Fixed
* Initial image size would remain at 40% if preview menu was opened without an already generated list.
* Image size would not save if user exists app in preview menu.

## 2.1.0 - 2017-08-08
### Added
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/templates/preview.component.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="upperMenu" *ngIf="previewVariables.numberOfListItems > 0 && !previewVariables.listIsBeingGenerated">
<div class="imageCounter" *ngIf="previewVariables.numberOfQueriedImages">{{lang.remainingImages}} {{previewVariables.numberOfQueriedImages}}</div>
<div class="slider">
<input type="range" min="30" max="100" step="0.25" [ngModel]="appSettings.previewSettings.imageZoomPercentage" (input)="setImageSize($event.target.value)"
(ngModelChange)="setImageSize($event.target.value, true)" />
<input type="range" min="30" max="100" step="0.25" [value]="appSettings.previewSettings.imageZoomPercentage" (input)="setImageSize($event.target.value)"
(change)="setImageSize($event.target.value, true)" />
<div>{{appSettings.previewSettings.imageZoomPercentage | number : '1.0-2'}}%</div>
</div>
<input class="appFilter" [placeholder]="lang.filter" [(ngModel)]='filterValue' />
Expand Down

0 comments on commit 7a22217

Please sign in to comment.