mirror of
https://github.com/skylot/jadx.git
synced 2024-11-22 20:29:51 +00:00
fix(gui): add VM flags to fix UI ghosting (#2225)
This commit is contained in:
parent
821cc668c7
commit
f9da6e00ed
@ -4,7 +4,7 @@
|
||||
<module name="jadx.jadx-gui.main"/>
|
||||
<option name="PROGRAM_PARAMETERS" value="-v"/>
|
||||
<option name="VM_PARAMETERS"
|
||||
value="-Xms128M -XX:MaxRAMPercentage=70.0 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Djava.util.Arrays.useLegacyMergeSort=true -Djdk.util.zip.disableZip64ExtraFieldValidation=true -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED"/>
|
||||
value="-Xms128M -XX:MaxRAMPercentage=70.0 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Djava.util.Arrays.useLegacyMergeSort=true -Djdk.util.zip.disableZip64ExtraFieldValidation=true -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED -Dsun.java2d.noddraw=true -Dsun.java2d.d3d=false -Dsun.java2d.ddforcevram=true -Dsun.java2d.ddblit=false -Dswing.useflipBufferStrategy=True"/>
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true"/>
|
||||
</method>
|
||||
|
@ -70,6 +70,12 @@ application {
|
||||
// needed for ktlint formatter
|
||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||
"--add-opens=java.base/java.lang=ALL-UNNAMED",
|
||||
// flags to fix UI ghosting (#2225)
|
||||
"-Dsun.java2d.noddraw=true",
|
||||
"-Dsun.java2d.d3d=false",
|
||||
"-Dsun.java2d.ddforcevram=true",
|
||||
"-Dsun.java2d.ddblit=false",
|
||||
"-Dswing.useflipBufferStrategy=True",
|
||||
)
|
||||
applicationDistribution.from("$rootDir") {
|
||||
include("README.md")
|
||||
|
Loading…
Reference in New Issue
Block a user