8252255: Blurry rendering of SwingNode with HiDPI scaling in JavaFX
Reviewed-by: kcr, aghaisas
This commit is contained in:
parent
21a6ab1e3e
commit
09d469e5ad
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -61,6 +61,13 @@ public class LightweightFrameWrapper {
|
||||
}
|
||||
}
|
||||
|
||||
public void notifyDisplayChanged(final double scaleFactorX,
|
||||
final double scaleFactorY) {
|
||||
if (lwFrame != null) {
|
||||
lwFrame.notifyDisplayChanged(scaleFactorX, scaleFactorY);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@code overrideNativeWindowHandle()} is package private but
|
||||
* part of the interface of this class. It supports providing a
|
||||
|
Loading…
x
Reference in New Issue
Block a user