Skip to content

Editor - set noLoop() on window.blur() ? #1209

Open
@ffd8

Description

@ffd8

Nature of issue?

  • Existing feature enhancement

Feature enhancement details:

Referencing this issue for consideration: whether sketches running in the p5.js editor should set themselves to noLoop()/loop() based on window.blur()/window.focus(). It's a bigger issue for the p5.js references website – since there are cases when one might want to keep an editor sketch running continuously in the background.

Bringing this up as it's common to see students with multiple windows (+ browsers) open, occasionally having a few instances of the Editor in active tabs (in background or minimized) while they research sketches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestProposal for adding a new functionalityPriority:MediumModerately important, should be completed in a fair timeframe

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions