mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make size() static and return JBDimension
This commit is contained in:
@@ -28,7 +28,7 @@ public class JBUI {
|
||||
return isHiDPI() ? 2 * i : i;
|
||||
}
|
||||
|
||||
public Dimension size(int width, int height) {
|
||||
public static JBDimension size(int width, int height) {
|
||||
return new JBDimension(width, height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user