Prevent shadowing

This commit is contained in:
Tobias Fella
2026-02-06 14:12:55 +01:00
parent aa7ab6b2ec
commit f9b0c56fa0

View File

@@ -40,7 +40,7 @@ ColumnLayout {
Layout.maximumWidth: Message.maxContentWidth Layout.maximumWidth: Message.maxContentWidth
LiveLocationsModel { LiveLocationsModel {
id: liveLocationModel id: locationModel
eventId: root.eventId eventId: root.eventId
room: Message.room room: Message.room
} }
@@ -50,13 +50,13 @@ ColumnLayout {
Layout.preferredWidth: root.Message.maxContentWidth Layout.preferredWidth: root.Message.maxContentWidth
Layout.preferredHeight: root.Message.maxContentWidth / 16 * 9 Layout.preferredHeight: root.Message.maxContentWidth / 16 * 9
map.center: QtPositioning.coordinate(liveLocationModel.boundingBox.y, liveLocationModel.boundingBox.x) map.center: QtPositioning.coordinate(locationModel.boundingBox.y, locationModel.boundingBox.x)
map.zoomLevel: 15 map.zoomLevel: 15
map.plugin: OsmLocationPlugin.plugin map.plugin: OsmLocationPlugin.plugin
MapItemView { MapItemView {
model: liveLocationModel model: locationModel
delegate: LocationMapItem {} delegate: LocationMapItem {}
} }
@@ -64,7 +64,7 @@ ColumnLayout {
acceptedButtons: Qt.LeftButton acceptedButtons: Qt.LeftButton
onTapped: { onTapped: {
fullScreenMap.createObject(parent, { fullScreenMap.createObject(parent, {
liveLocationModel: liveLocationModel liveLocationModel: locationModel
}) })
} }
} }