Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/accessibility/gridOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ function gridOutput(p5, fn){

//updates gridOutput
fn._updateGridOutput = function(idT) {
if (this._renderer && this._renderer instanceof p5.RendererGL) {
if (!this._didOutputGridWebGLMessage) {
this._didOutputGridWebGLMessage = true;
console.error('gridOutput() does not yet work in WebGL mode.');
}
return;
}
//if html structure is not there yet
if (!this.dummyDOM.querySelector(`#${idT}_summary`)) {
return;
Expand Down
7 changes: 7 additions & 0 deletions src/accessibility/textOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ function textOutput(p5, fn){

//updates textOutput
fn._updateTextOutput = function(idT) {
if (this._renderer && this._renderer instanceof p5.RendererGL) {
if (!this._didOutputTextWebGLMessage) {
this._didOutputTextWebGLMessage = true;
console.error('textOutput() does not yet work in WebGL mode.');
}
return;
}
//if html structure is not there yet
if (!this.dummyDOM.querySelector(`#${idT}_summary`)) {
return;
Expand Down
Loading