9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 12:09:07 +00:00

make smartVanillaHeight also adjust the logicalHeight

This commit is contained in:
CrazyDev22
2024-05-03 19:57:34 +02:00
parent d4f9a20379
commit 1593bb2088

View File

@@ -305,6 +305,10 @@ public class IrisDimension extends IrisRegistrant {
return smartVanillaHeight ? new IrisRange(-64, 320) : dimensionHeight;
}
public int getLogicalHeight() {
return smartVanillaHeight ? 256 : logicalHeight;
}
public boolean hasFocusRegion() {
return !focusRegion.equals("");
}