From d2a4fadf78397ba95e380c8dc6ce82da894e7a50 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sat, 3 Jul 2021 06:55:33 -0400 Subject: [PATCH] add link to issue --- app/src/processing/app/ui/EditorButton.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/processing/app/ui/EditorButton.java b/app/src/processing/app/ui/EditorButton.java index 538a3ddc0..0141210a2 100644 --- a/app/src/processing/app/ui/EditorButton.java +++ b/app/src/processing/app/ui/EditorButton.java @@ -146,8 +146,9 @@ implements MouseListener, MouseMotionListener, ActionListener { // It looks like ActionEvent expects old-style modifiers, // so the e.getModifiers() call here may be correct. - // TODO Look into how this is getting used in Modes, - // and either update or add ignore to the deprecation [fry 191008] + // TODO Look into how this is getting used in Modes, and either + // update or add ignore to the deprecation [fry 191008] + // https://github.com/processing/processing4/issues/67 actionPerformed(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, e.getModifiers())); }