mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
only do update click when there are updates available
This commit is contained in:
@@ -73,7 +73,7 @@ public class EditorFooter extends Box {
|
||||
Color[] tabColor = new Color[2];
|
||||
|
||||
Color updateColor;
|
||||
int updateLeft, updateRight;
|
||||
int updateLeft;
|
||||
|
||||
Editor editor;
|
||||
|
||||
@@ -191,7 +191,7 @@ public class EditorFooter extends Box {
|
||||
repaint();
|
||||
}
|
||||
}
|
||||
if (x > updateLeft) {
|
||||
if (updateCount > 0 && x > updateLeft) {
|
||||
ContributionManager.openUpdates();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user