Skip to content

Commit

Permalink
Examples: Removed minimap from webgpu_tsl_transpiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Nov 30, 2023
1 parent 9bcf8ab commit b5e44da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified examples/screenshots/webgpu_tsl_transpiler.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions examples/webgpu_tsl_transpiler.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,17 @@
value: glslCode,
language: 'glsl',
theme: 'vs-dark',
automaticLayout: true
automaticLayout: true,
minimap: { enabled: false }
} );

const result = window.monaco.editor.create( resultDOM, {
value: '',
language: 'javascript',
theme: 'vs-dark',
automaticLayout: true,
readOnly: true
readOnly: true,
minimap: { enabled: false }
} );

const showCode = ( code ) => {
Expand Down

0 comments on commit b5e44da

Please sign in to comment.