File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Show line of sight between geoelements Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,12 @@ struct BrowseWMSLayersView: View {
5656 isListPresented. toggle ( )
5757 }
5858 . disabled ( layerModels. isEmpty)
59- . sheet ( isPresented: $isListPresented) {
59+ . popover ( isPresented: $isListPresented) {
6060 NavigationStack {
6161 WMSLayerListView ( models: layerModels, selection: $selection)
6262 . navigationBarTitleDisplayMode ( . inline)
6363 . navigationTitle ( " Layer Visibility " )
6464 . presentationDetents ( [ . medium] )
65- . frame ( idealWidth: 320 , idealHeight: 380 )
6665 . toolbar {
6766 ToolbarItem ( placement: . topBarTrailing) {
6867 Button ( " Done " ) {
@@ -71,6 +70,7 @@ struct BrowseWMSLayersView: View {
7170 }
7271 }
7372 }
73+ . frame ( idealWidth: 320 , idealHeight: 380 )
7474 }
7575 }
7676 }
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ struct ShowLineOfSightBetweenGeoelementsView: View {
4848 Button ( " Settings " ) {
4949 isPresented = true
5050 }
51- . sheet ( isPresented: $isPresented) {
51+ . popover ( isPresented: $isPresented) {
5252 settingsSheet
5353 }
5454 }
@@ -101,6 +101,7 @@ struct ShowLineOfSightBetweenGeoelementsView: View {
101101 }
102102 }
103103 }
104+ . frame ( idealWidth: 320 , idealHeight: 380 )
104105 }
105106}
106107
You can’t perform that action at this time.
0 commit comments