Change direction of automatic layout grainline to avoid user confusion.

This commit is contained in:
Roman Telezhynskyi 2024-04-06 08:28:28 +03:00
parent 5ea7817a02
commit 5186e80adb

View File

@ -141,7 +141,7 @@ QT_WARNING_POP
*/
inline auto VPosition::FabricGrainline() const -> QLineF
{
return m_data.isOriginPaperOrientationPortrait ? QLineF(10, 10, 10, 100) : QLineF(10, 10, 100, 10);
return m_data.isOriginPaperOrientationPortrait ? QLineF(10, 10, 10, -100) : QLineF(10, 10, -100, 10);
}
#endif // VPOSITION_H