Explorar o código

Examples: Removed minimap from webgpu_tsl_transpiler.

Mr.doob hai 1 ano
pai
achega
b5e44dae9f

BIN=BIN
examples/screenshots/webgpu_tsl_transpiler.jpg


+ 4 - 2
examples/webgpu_tsl_transpiler.html

@@ -77,7 +77,8 @@ float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const i
 						value: glslCode,
 						language: 'glsl',
 						theme: 'vs-dark',
-						automaticLayout: true
+						automaticLayout: true,
+						minimap: { enabled: false }
 					} );
 
 					const result = window.monaco.editor.create( resultDOM, {
@@ -85,7 +86,8 @@ float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const i
 						language: 'javascript',
 						theme: 'vs-dark',
 						automaticLayout: true,
-						readOnly: true
+						readOnly: true,
+						minimap: { enabled: false }
 					} );
 
 					const showCode = ( code ) => {