Browse Source

Disable minimap (#27113)

WestLangley 1 year ago
parent
commit
38990d8436
1 changed files with 4 additions and 2 deletions
  1. 4 2
      examples/webgpu_tsl_editor.html

+ 4 - 2
examples/webgpu_tsl_editor.html

@@ -156,7 +156,8 @@ output = vec4( finalColor, opacity );
 						value: tslCode,
 						value: tslCode,
 						language: 'javascript',
 						language: 'javascript',
 						theme: 'vs-dark',
 						theme: 'vs-dark',
-						automaticLayout: true
+						automaticLayout: true,
+						minimap: { enabled: false }
 					} );
 					} );
 
 
 					const result = window.monaco.editor.create( resultDOM, {
 					const result = window.monaco.editor.create( resultDOM, {
@@ -164,7 +165,8 @@ output = vec4( finalColor, opacity );
 						language: 'wgsl',
 						language: 'wgsl',
 						theme: 'vs-dark',
 						theme: 'vs-dark',
 						automaticLayout: true,
 						automaticLayout: true,
-						readOnly: true
+						readOnly: true,
+						minimap: { enabled: false }
 					} );
 					} );
 
 
 					const showCode = () => {
 					const showCode = () => {