Change direction of automatic layout grainline to avoid user confusion.
This commit is contained in:
parent
5ea7817a02
commit
5186e80adb
|
@ -141,7 +141,7 @@ QT_WARNING_POP
|
||||||
*/
|
*/
|
||||||
inline auto VPosition::FabricGrainline() const -> QLineF
|
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
|
#endif // VPOSITION_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user