提交 64e91ac8 编写于 作者: M Mohamed Mohamedin

Reverted "Fixed portrait/landscape option in the system print dialog...

Reverted "Fixed portrait/landscape option in the system print dialog (drawio-desktop-517)" and it doesn't work in win and broke mac
上级 2fad8fac
......@@ -1602,7 +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,
//landscape: args.pageWidth > args.pageHeight, // This doesn't work in windows and broke the page shape in mac
marginsType: 1 // no margin
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册