Allow configuring monaco minimap from tfw config.ts

This commit is contained in:
Kristóf Tóth 2018-06-12 23:18:31 +02:00
parent 8d9a9b1aea
commit 8de4c30f80
2 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,8 @@ export const config = {
showDeployButton: true,
reloadIframeOnDeploy: true,
showConsoleOnDeploy: true,
autoDetectFileLanguage: true
autoDetectFileLanguage: true,
showMiniMap: false
},
terminal: {
route: 'shell'

View File

@ -50,7 +50,7 @@ export class IdeComponent implements OnInit {
theme: 'vs-dark',
language: config.ide.defaultLanguage,
glyphMargin: false,
minimap: {enabled: false}
minimap: {enabled: config.ide.showMiniMap}
};
@Output() newLogs = new EventEmitter<any>();