mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
5270688483
The editing support is added via dragging. It is handled via the MouseArea's drag.target of the MapQuickItem. The drag target changes with the model selectedUuid. "mapAnimationZoomIn" now also does an initial zoom-out before moving to a new location. centerOnCoordinate() now pefroms calculations to determine how much the animation needs to zoom out. What it does is it reduces the Map zoomLevel util both the current and the new target coordinates are visible. It then restores the zoomLevel and performs animation based on newZoomOut. animateMapZoomIn() is now obsolete. The patch also includes the following smaller changes: - remove the setSelectedUuid() call in deselectMapLocation() This is now handled in C++ - sets "defaultZoomIn" to 12.0 - use ">=" when determining if a mapItem text should be visible Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> |
||
---|---|---|
.. | ||
icons | ||
About.qml | ||
CloudCredentials.qml | ||
dive.jpg | ||
DiveDetails.qml | ||
DiveDetailsEdit.qml | ||
DiveDetailsView.qml | ||
DiveList.qml | ||
DownloadedDiveDelegate.qml | ||
DownloadFromDiveComputer.qml | ||
GpsList.qml | ||
HintsTextEdit.qml | ||
Log.qml | ||
main.qml | ||
MapWidget.qml | ||
MapWidgetContextMenu.qml | ||
mobile-resources.qrc | ||
qtquickcontrols2.conf | ||
Settings.qml | ||
SsrfButton.qml | ||
SsrfCheckBox.qml | ||
SsrfSwitch.qml | ||
StartPage.qml | ||
ThemeTest.qml |