Skip to content

Commit

Permalink
Insure grid decoration overlay respects projects' X/Y interval and of…
Browse files Browse the repository at this point in the history
…fset values
  • Loading branch information
nirvn committed Dec 2, 2024
1 parent d4b5a2f commit 7a796e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -3525,6 +3525,10 @@ ApplicationWindow {
imageDecoration.strokeColor = imageDecorationConfiguration["strokeColor"];
const gridDecorationConfiguration = projectInfo.getGridDecorationConfiguration();
gridDecoration.enabled = false;
gridDecoration.xInterval = gridDecorationConfiguration["xInterval"];
gridDecoration.yInterval = gridDecorationConfiguration["yInterval"];
gridDecoration.xOffset = gridDecorationConfiguration["xOffset"];
gridDecoration.yOffset = gridDecorationConfiguration["yOffset"];
gridDecoration.prepareLines = gridDecorationConfiguration["hasLines"];
gridDecoration.lineColor = gridDecorationConfiguration["lineColor"];
gridDecoration.prepareMarkers = gridDecorationConfiguration["hasMarkers"];
Expand Down

1 comment on commit 7a796e8

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.