Move the 765x503 constants to a Constants API class

This commit is contained in:
Lotto
2018-03-03 00:38:48 +01:00
parent e830442585
commit 725762460a
3 changed files with 43 additions and 8 deletions

View File

@@ -25,6 +25,7 @@
package net.runelite.client.config;
import java.awt.Dimension;
import net.runelite.api.Constants;
@ConfigGroup(
keyName = "runelite",
@@ -40,7 +41,7 @@ public interface RuneLiteConfig extends Config
)
default Dimension gameSize()
{
return new Dimension(765, 503);
return Constants.GAME_FIXED_SIZE;
}
@ConfigItem(