Move the 765x503 constants to a Constants API class
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user