Skip to content

Commit

Permalink
[desktop]: Fix Auto Stretch menu selection
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagohm committed Jun 19, 2024
1 parent f01e80d commit 03e42a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/src/app/image/image.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ export class ImageComponent implements AfterViewInit, OnDestroy {

toggleStretch() {
this.stretch.auto = !this.stretch.auto
this.autoStretchMenuItem.checked = this.stretch.auto
this.autoStretchMenuItem.selected = this.stretch.auto

if (!this.stretch.auto) {
this.resetStretch()
Expand Down

0 comments on commit 03e42a2

Please sign in to comment.