keep photo viewer open when disabling Panoramax overlay, fixes #10966

This commit is contained in:
Martin Raifer
2025-04-15 17:05:09 +02:00
parent 10030bb4ae
commit 654c13ce08
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -40,6 +40,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
#### :sparkles: Usability & Accessibility
#### :scissors: Operations
#### :camera: Street-Level
* Keep photo viewer open when disabling Panoramax overlay ([#10966])
#### :white_check_mark: Validation
* Show unchanged tags of a [deprecation rule](https://github.com/ideditor/schema-builder?tab=readme-ov-file#deprecations) explicitly in the validation warning ([#10104])
#### :bug: Bugfixes
@@ -51,6 +52,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
[#9873]: https://github.com/openstreetmap/iD/issues/9873
[#10104]: https://github.com/openstreetmap/iD/issues/10104
[#10966]: https://github.com/openstreetmap/iD/issues/10966
# v2.33.0
-2
View File
@@ -188,8 +188,6 @@ export function svgPanoramaxImages(projection, context, dispatch) {
}
function editOff() {
const service = getService();
service.hideViewer(context);
layer.selectAll('.viewfield-group').remove();
layer.style('display', 'none');
}