-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
@SableRaf
Description
Current behavior
Mouse clicks register in interactive sketches even when the cursor is not over the sketch window (like clicking on links anywhere in the page). This is particularly problematic in examples like FileIO/SaveOneImage where any click triggers a file save.
Expected behavior
Mouse clicks only register when the cursor is over the sketch window
Possible solution
Embed the sketches into an iFrame. See @trikaphundo's first comment below
(削除) The following examples are using MousePressed to capture clicks and may need to be fixed (削除ここまで)
(削除) Camera/Orthographic (削除ここまで)(削除) Input/MouseFunctions (削除ここまで)(削除) Structure/Loop (削除ここまで)(削除) Structure/Redraw (削除ここまで)(削除) Web/EmbeddedLinks (削除ここまで)(削除) Avanced Data/ArrayListClass (削除ここまで)(削除) Advanced Data/LoadSaveJSON (削除ここまで)(削除) Advanced Data/LoadSaveTable (削除ここまで)(削除) Cellular Automata/Wolfram (削除ここまで)(削除) FileIO/SaveOneImage (削除ここまで)(削除) GUI/Button (削除ここまで)(削除) Motion/MovingOnCurves (削除ここまで)(削除) Simulate/Flocking (削除ここまで)(削除) Simulate/ForcesWithVectors (削除ここまで)(削除) Simulate/MultipleParticleSystems (削除ここまで)