mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 05:50:39 +00:00
make smartVanillaHeight also adjust the logicalHeight
This commit is contained in:
1 parent
d4f9a20379
commit
1593bb2088
1 file changed
+4
@@ -305,6 +305,10 @@ public class IrisDimension extends IrisRegistrant {
|
|||||||
return smartVanillaHeight ? new IrisRange(-64, 320) : dimensionHeight;
|
return smartVanillaHeight ? new IrisRange(-64, 320) : dimensionHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getLogicalHeight() {
|
||||||
|
return smartVanillaHeight ? 256 : logicalHeight;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean hasFocusRegion() {
|
public boolean hasFocusRegion() {
|
||||||
return !focusRegion.equals("");
|
return !focusRegion.equals("");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user