Skip to content

Commit

Permalink
LIMS-277: Fix sample changer view scaling (#794)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Williams <[email protected]>
  • Loading branch information
ndg63276 and Mark Williams authored Jul 9, 2024
1 parent f95dc81 commit b22afc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/js/modules/dc/views/samplechanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ define(['marionette', 'utils/canvas', 'utils',
this.rpad = 0 //pad - 25

var sw = 18
this.aspectratio = (sw/this.positions) - (this.positions <= 10 ? 0.3 : 0)
this.aspectratio = (this.positions <= 10 ? 1.5 : 0.4)
this.contwidth = (this.positions * sw) + this.pad + this.rpad + 15
console.log('sc width', this.contwidth, this.aspectratio)
if (!this.getOption('fullScreen')) {
Expand Down Expand Up @@ -230,4 +230,4 @@ define(['marionette', 'utils/canvas', 'utils',
})


})
})

0 comments on commit b22afc0

Please sign in to comment.