Skip to content

Commit

Permalink
Fixing #43
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciogonzalezvivo committed Jun 11, 2018
1 parent bb5e284 commit 5c83c60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/glslEditor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/core/Shader.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Shader {
this.elCanvas.setAttribute('class', 'ge_canvas');
this.elCanvas.setAttribute('width', (this.options.canvas_width || this.options.canvas_size || '250') / window.devicePixelRatio);
this.elCanvas.setAttribute('height', (this.options.canvas_height || this.options.canvas_size || '250') / window.devicePixelRatio);
this.elCanvas.setAttribute('data-fragment', this.options.frag);
this.elCanvas.setAttribute('data-fragment', this.options.frag_header + this.options.frag + this.options.frag_footer);
this.el.appendChild(this.elCanvas);
let glslcanvas = new GlslCanvas(this.elCanvas, { premultipliedAlpha: false, preserveDrawingBuffer: true, backgroundColor: 'rgba(1,1,1,1)' });

Expand Down

0 comments on commit 5c83c60

Please sign in to comment.