mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-10-10 18:03:54 +02:00
Disable deletion of nodes attached to ways/relations, add option for visibility of WIP extraction feature
This commit is contained in:
1 parent
c77ea96eaf
commit
492cf57520
3 files changed
+21
-16
No files matched your search
@@ -65,6 +65,9 @@ const bool kEnableNavigationFeatures = kEnableDevelopmentModes; // Hide navigati
|
||||
// Node editing features - set to false to temporarily disable editing
|
||||
const bool kEnableNodeEdits = true; // Set to false to temporarily disable node editing
|
||||
|
||||
// Node extraction features - set to false to hide extract functionality for constrained nodes
|
||||
const bool kEnableNodeExtraction = false; // Set to true to enable extract from way/relation feature (WIP)
|
||||
|
||||
/// Navigation availability: only dev builds, and only when online
|
||||
bool enableNavigationFeatures({required bool offlineMode}) {
|
||||
if (!kEnableDevelopmentModes) {
|
||||
|
||||
Reference in new issue
Block a user