mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 05:39:18 +01:00
fixed ctrl click firing on mac #3242
This commit is contained in:
@@ -104,7 +104,7 @@ public class JavaTextAreaPainter extends TextAreaPainter
|
||||
public void mouseClicked(MouseEvent evt) {
|
||||
if (!getEditor().hasJavaTabs()) { // Ctrl + Click disabled for java tabs
|
||||
if (evt.getButton() == MouseEvent.BUTTON1) {
|
||||
if (evt.isControlDown() || evt.isMetaDown()) {
|
||||
if ((evt.isControlDown() && !Base.isMacOS()) || evt.isMetaDown()) {
|
||||
handleCtrlClick(evt);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user