Add ability to lock client to screen

This commit is contained in:
WooxSolo
2018-04-27 04:51:34 +02:00
committed by Adam
parent 31e952316b
commit a1dac25280
3 changed files with 95 additions and 2 deletions

View File

@@ -156,6 +156,17 @@ public interface RuneLiteConfig extends Config
return 4;
}
@ConfigItem(
keyName = "containInScreen",
name = "Contain in screen",
description = "Makes the client stay contained in the screen when attempted to move out of it.<br>Note: Only works if custom chrome is enabled.",
position = 12
)
default boolean containInScreen()
{
return false;
}
@ConfigItem(
keyName = "rememberScreenBounds",
name = "Remember client position",