Skip to content

Commit

Permalink
leave fullscreen when using dishExportMap
Browse files Browse the repository at this point in the history
  • Loading branch information
jedi-of-the-sea committed Mar 5, 2025
1 parent b52de7d commit 05a6935
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default Vue.extend({
...mapGetters('plugin/pins', ['transformedCoordinate']),
...mapGetters('plugin/gfi', ['currentProperties']),
...mapGetters('plugin/scale', ['scaleValue', 'scaleWithUnit']),
...mapGetters('plugin/fullscreen', ['isInFullscreen']),
hasObjectProperties(): boolean {
return this.currentProperties && this.currentProperties.objektid
},
Expand Down Expand Up @@ -130,6 +131,7 @@ export default Vue.extend({
this.exportMapAsPdfUrl ||= `${this.internalHost}/Content/Objekt/Kartenausgabe.aspx`
},
showRectangleAndDialog() {
if (this.isInFullscreen) document.exitFullscreen()
if (this.transformedCoordinate.length === 0 || !this.overlay) {
return
}
Expand Down

0 comments on commit 05a6935

Please sign in to comment.