mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
size(300, 300, OPENGL).. rewrite of present mode.. java 1.4 only.. a
zillion other runtime fixes
This commit is contained in:
@@ -366,14 +366,14 @@ public class PdeEditorHeader extends JComponent {
|
||||
}
|
||||
|
||||
public Dimension getMinimumSize() {
|
||||
if (PdeBase.platform == PdeBase.MACOSX) {
|
||||
if (PdeBase.isMacOS()) {
|
||||
return new Dimension(300, PdePreferences.GRID_SIZE);
|
||||
}
|
||||
return new Dimension(300, PdePreferences.GRID_SIZE - 1);
|
||||
}
|
||||
|
||||
public Dimension getMaximumSize() {
|
||||
if (PdeBase.platform == PdeBase.MACOSX) {
|
||||
if (PdeBase.isMacOS()) {
|
||||
return new Dimension(3000, PdePreferences.GRID_SIZE);
|
||||
}
|
||||
return new Dimension(3000, PdePreferences.GRID_SIZE - 1);
|
||||
|
||||
Reference in New Issue
Block a user