提交 b236b7e7 编写于 作者: M Mohamed Mohamedin

Fixed portrait/landscape option in the system print dialog (drawio-desktop-517)

上级 4b7fdffd
......@@ -1602,6 +1602,7 @@ function exportDiagram(event, args, directFinalize)
//This height adjustment fixes the output. TODO Test more cases
height: (args.pageHeight * 1.025) * MICRON_TO_PIXEL
},
landscape: args.pageWidth > args.pageHeight,
marginsType: 1 // no margin
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册