Fix custom map default settings error (#16236)

and config order
This commit is contained in:
Tony Murray 2024-07-22 09:24:56 -05:00 committed by GitHub
parent e6f02ea7ff
commit a81a9f3cfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class CustomMapController extends Controller
'menu_group' => null,
'node_align' => Config::get('custom_map.node_align', 10),
'edge_separation' => Config::get('custom_map.edge_seperation', 10),
'reverse_arrows' => Config::get('custom_map.reverse_arrows', false),
'reverse_arrows' => Config::get('custom_map.reverse_arrows', false) ? 'true' : 'false',
'legend' => [
'x' => -1,
'y' => -1,

View File

@ -1071,7 +1071,7 @@
"type": "integer",
"group": "webui",
"section": "custom-map",
"order": 21
"order": 22
},
"custom_map.height": {
"default": "1800px",
@ -1085,7 +1085,7 @@
"type": "integer",
"group": "webui",
"section": "custom-map",
"order": 22
"order": 21
},
"custom_map.node_background": {
"default": "#D2E5FF",