Skip to content

Commit

Permalink
Oups, re-add pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 19, 2025
1 parent 2305a64 commit 1007fb6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/qml/About.qml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ Item {
id: information
spacing: 6
width: aboutPanel.width - 40
height: Math.max(mainWindow.height - sponsorshipButton.height - linksButton.height - qfieldAppDirectoryLabel.height - aboutContainer.spacing * 3 - aboutContainer.anchors.topMargin - aboutContainer.anchors.bottomMargin - 10,
qfieldPart.height + opengisPart.height + spacing)
height: Math.max(mainWindow.height - sponsorshipButton.height - linksButton.height - qfieldAppDirectoryLabel.height - aboutContainer.spacing * 3 - aboutContainer.anchors.topMargin - aboutContainer.anchors.bottomMargin - 10, qfieldPart.height + opengisPart.height + spacing)

ColumnLayout {
id: qfieldPart
Expand Down
4 changes: 2 additions & 2 deletions src/qml/DashBoard.qml
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ Drawer {
iconColor: Theme.mainOverlayColor
bgcolor: "transparent"
onClicked: {
let p = mapToItem(mainWindow.contentItem, width, 0);
showMainMenu(p)
let p = mapToItem(mainWindow.contentItem, width, 0);
showMainMenu(p);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2324,12 +2324,12 @@ ApplicationWindow {
}

onShowMainMenu: p => {
mainMenu.popup(p.x- mainMenu.width - 2, p.y - 2)
mainMenu.popup(p.x - mainMenu.width - 2, p.y - 2);
}

onShowCloudPopup: {
dashBoard.close();
qfieldCloudPopup.show()
dashBoard.close();
qfieldCloudPopup.show();
}

onToggleMeasurementTool: {
Expand Down

0 comments on commit 1007fb6

Please sign in to comment.