Skip to content

SVG library documentation: mousePressed() comment incorrectly says "keypress" #652

@hxrshxz

Description

@hxrshxz

Most appropriate sub-area of Processing 4?

Documentation

Processing version

4.0

Operating system

4.0

Bug description

In the official SVG library reference (https://processing.org/reference/libraries/svg/index.html), the "Single Frame from an Animation" example has an inconsistency:

The comment says:
// Use a keypress so thousands of files aren't created

But the implementation uses:
void mousePressed() {
record = true;
}

Steps to reproduce this

visit the Website https://processing.org/reference/libraries/svg/index.html and
scroll to this section ->
Single Frame from an Animation (With Screen Display)

Image

snippet

No response

Additional context

No response

Would you like to work on the issue?

Yes, I’d like to help with this

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions