mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-08 07:55:08 +00:00
Disable scaling (No distortion on hi-dpi monitors)
This commit is contained in:
@@ -16,6 +16,9 @@ All notable changes to this project will be documented in this file.
|
||||
### Changed
|
||||
- Chinese translation updated
|
||||
|
||||
### Fixed
|
||||
- Scaling - Distorted images/canvas on Hi-dpi monitors for Java 9 and later
|
||||
|
||||
## [11.3.0] - 2020-04-25
|
||||
### Added
|
||||
- Possibility to open SWF files using open on Mac
|
||||
|
||||
@@ -405,6 +405,7 @@
|
||||
<maxHeapPercent>${max.heap.size.percent}</maxHeapPercent>
|
||||
<opt>-Djava.net.preferIPv4Stack=true</opt>
|
||||
<opt>-Djna.nosys=true</opt>
|
||||
<opt>-Dsun.java2d.uiScale=1.0</opt>
|
||||
</jre>
|
||||
<splash>
|
||||
<file>graphics/splash2.bmp</file>
|
||||
@@ -667,6 +668,7 @@
|
||||
<java jar="${dist.dir}/${jar.filename}.jar" fork="true">
|
||||
<jvmarg value="-Xmx${max.heap.size.run}m" />
|
||||
<jvmarg value="-Djava.net.preferIPv4Stack=true" />
|
||||
<jvmarg value="-Dsun.java2d.uiScale=1.0" />
|
||||
<arg line="${run.params}" />
|
||||
</java>
|
||||
</target>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
@echo off
|
||||
java -Xmx1024m -Djna.nosys=true -jar "%~dp0\ffdec.jar" %*
|
||||
java -Xmx1024m -Djna.nosys=true -Dsun.java2d.uiScale=1.0 -jar "%~dp0\ffdec.jar" %*
|
||||
@@ -67,7 +67,7 @@ fi
|
||||
|
||||
popd > /dev/null
|
||||
|
||||
args=(-Djava.net.preferIPv4Stack=true -Xmx$MEMORY -jar $JAR_FILE "$@")
|
||||
args=(-Djava.net.preferIPv4Stack=true -Dsun.java2d.uiScale=1.0 -Xmx$MEMORY -jar $JAR_FILE "$@")
|
||||
|
||||
if [ "`uname`" = "Darwin" ]; then
|
||||
args=(-Xdock:name=FFDec -Xdock:icon=icon.png "${args[@]}")
|
||||
|
||||
Reference in New Issue
Block a user