mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 18:10:43 +01:00
Remove unused PresentMode.device instance variable
This commit is contained in:
@@ -49,11 +49,6 @@ public class PresentMode {
|
||||
//JMenu preferencesMenu;
|
||||
static JComboBox selector;
|
||||
|
||||
/**
|
||||
* Index of the currently selected display to be used for present mode.
|
||||
*/
|
||||
static GraphicsDevice device;
|
||||
|
||||
|
||||
static {
|
||||
GraphicsEnvironment environment =
|
||||
@@ -75,7 +70,6 @@ public class PresentMode {
|
||||
selector.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
int index = selector.getSelectedIndex();
|
||||
//device = devices[index];
|
||||
Preferences.setInteger("run.present.display", index + 1);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user