mirror of
https://github.com/Shiewk/Widgets.git
synced 2026-04-28 11:34:17 +02:00
1.21.4 backport
This commit is contained in:
+4
-4
@@ -2,8 +2,8 @@
|
||||
org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://modmuss50.me/fabric.html
|
||||
minecraft_version=1.21.5
|
||||
yarn_mappings=1.21.5+build.1
|
||||
minecraft_version=1.21.4
|
||||
yarn_mappings=1.21.4+build.8
|
||||
loader_version=0.17.2
|
||||
# Mod Properties
|
||||
mod_version=2.0.0
|
||||
@@ -11,5 +11,5 @@ maven_group=de.shiewk
|
||||
archives_base_name=Widgets
|
||||
# Dependencies
|
||||
# check this on https://modmuss50.me/fabric.html
|
||||
fabric_version=0.127.0+1.21.5
|
||||
modmenu_version=14.0.0
|
||||
fabric_version=0.118.0+1.21.4
|
||||
modmenu_version=13.0.3
|
||||
|
||||
@@ -102,7 +102,7 @@ public class RGBAColorWidgetSetting extends WidgetSettingOption {
|
||||
MinecraftClient client = MinecraftClient.getInstance();
|
||||
WidgetUtils.playSound(SoundEvents.BLOCK_COPPER_BULB_TURN_ON);
|
||||
client.setScreen(
|
||||
new ChangeScreen(client.currentScreen, (int) client.mouse.getScaledX(client.getWindow()), (int) client.mouse.getScaledY(client.getWindow()))
|
||||
new ChangeScreen(client.currentScreen, (int) (client.mouse.getX() / client.getWindow().getScaleFactor()), (int) (client.mouse.getY() / client.getWindow().getScaleFactor()))
|
||||
);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user