Skip to content

Commit

Permalink
Merge pull request #1024 from ignacionar/#1023
Browse files Browse the repository at this point in the history
#1023 possible workaround to use ios18 in mobile
  • Loading branch information
dhreben authored Sep 20, 2024
2 parents d823743 + a2dc440 commit e299849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/app/components/stf/screen/screen-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ module.exports = function DeviceScreenDirective(
canvas.height = cachedImageHeight
}

if (canvasSizeExceeded()) {
if (canvasSizeExceeded() && $scope.device.version !== '18.0') {
console.log(`exceeded canvas size limit, reducing previous size: ${canvas.width}x${canvas.height}`);
if ($scope.device.display.rotation === 90) {
canvas.width = 5376;
Expand Down

0 comments on commit e299849

Please sign in to comment.