Skip to content

Commit b236b7e

Browse files
committed
Fixed portrait/landscape option in the system print dialog (drawio-desktop-517)
1 parent 4b7fdff commit b236b7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/electron.js

+1
Original file line numberDiff line numberDiff line change
@@ -1602,6 +1602,7 @@ function exportDiagram(event, args, directFinalize)
16021602
//This height adjustment fixes the output. TODO Test more cases
16031603
height: (args.pageHeight * 1.025) * MICRON_TO_PIXEL
16041604
},
1605+
landscape: args.pageWidth > args.pageHeight,
16051606
marginsType: 1 // no margin
16061607
};
16071608

0 commit comments

Comments
 (0)