Skip to content

Commit

Permalink
Merge pull request #10 from cnlpete/7-suggestion-remove-need-for-rest…
Browse files Browse the repository at this point in the history
…art-after-settings-changes

feat: wrap map in Loader component
  • Loading branch information
cnlpete authored Dec 2, 2024
2 parents 70cd6d1 + be0d603 commit c8efb8a
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 261 deletions.
4 changes: 0 additions & 4 deletions qml/pages/Settings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ Dialog {
id: mapstyleSetting
label: qsTr("Map style")
currentIndex: 0
description: qsTr('You need to restart the App for this to take effect.')

menu: ContextMenu {
MenuItem {
Expand Down Expand Up @@ -112,14 +111,12 @@ Dialog {
TextSwitch {
id: antialiasingSetting
text: qsTr('Smooth Rain Rendering')
description: qsTr('You need to restart the App for this to take effect.')
checked: settings.antialiasing
}

ComboBox {
id: rainResolutionSetting
label: qsTr("Rain resolution")
description: qsTr('You need to restart the App for this to take effect.')
currentIndex: settings.tileSize === 256 ? 0 : 1

menu: ContextMenu {
Expand All @@ -137,7 +134,6 @@ Dialog {
ComboBox {
id: rainColorSetting
label: qsTr("Rain color scheme")
description: qsTr('You need to restart the App for this to take effect.')
currentIndex: settings.rainColorScheme

menu: ContextMenu {
Expand Down
Loading

0 comments on commit c8efb8a

Please sign in to comment.