fix a dumb bug and minor adjustment to gradle (minors)
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ mod_name=Fretux's Skill Engine
|
||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||
mod_license=All Rights Reserved
|
||||
# The mod version. See https://semver.org/
|
||||
mod_version=1.1.0
|
||||
mod_version=1.1.1
|
||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||
# This should match the base package used for the mod sources.
|
||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
|
||||
@@ -180,7 +180,7 @@ public class SkilltreeScreen extends Screen {
|
||||
|
||||
private int[] worldToScreen(float wx, float wy) {
|
||||
double sx = width / 2.0 + panX + wx * zoom;
|
||||
double sy = height / 2.0 + panY + wy * zoom;
|
||||
double sy = height / 2.0 + panY - wy * zoom;
|
||||
return new int[]{(int) sx, (int) sy};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user