Browse Source

Windows: Use large window border radius for popups

pull/336/head
Jannis Weis 2 years ago
parent
commit
5a460b91a4
No known key found for this signature in database
GPG Key ID: 7C9D8D4B558049AB
  1. 2
      windows/src/main/java/com/github/weisj/darklaf/platform/windows/WindowsDecorationsProvider.java

2
windows/src/main/java/com/github/weisj/darklaf/platform/windows/WindowsDecorationsProvider.java

@ -78,7 +78,7 @@ public class WindowsDecorationsProvider implements DecorationsProvider {
private boolean useSmallCornerRadiusForWindow(final Window w) {
if (!(w instanceof RootPaneContainer)) return false;
return PropertyUtil.getBooleanProperty(((RootPaneContainer) w).getRootPane(),
DecorationsConstants.KEY_WINDOWS_SMALL_CORNER_RADIUS, true);
DecorationsConstants.KEY_WINDOWS_SMALL_CORNER_RADIUS, false);
}
@Override

Loading…
Cancel
Save