mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
full screen toggle works
This commit is contained in:
@@ -287,8 +287,18 @@ public class PdeEditorButtons extends Panel {
|
||||
case PRINT: editor.doPrint(); break;
|
||||
case BEAUTIFY: editor.doBeautify(); break;
|
||||
|
||||
case FULL_SCREEN: editor.enableFullScreen(); break;
|
||||
case DISABLE_FULL_SCREEN: editor.disableFullScreen(); break;
|
||||
case FULL_SCREEN:
|
||||
editor.enableFullScreen();
|
||||
//editor.messageClear(title[which[buttonCount-1]]);
|
||||
which[buttonCount-1] = DISABLE_FULL_SCREEN;
|
||||
editor.message(title[which[buttonCount-1]]);
|
||||
break;
|
||||
case DISABLE_FULL_SCREEN:
|
||||
editor.disableFullScreen();
|
||||
//editor.messageClear(title[which[buttonCount-1]]);
|
||||
which[buttonCount-1] = FULL_SCREEN;
|
||||
editor.message(title[which[buttonCount-1]]);
|
||||
break;
|
||||
}
|
||||
//update();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user