bottom-bar
Ivory 2023-01-29 23:25:59 -05:00
parent 7bc5996cf9
commit a24bcce937
1 changed files with 0 additions and 21 deletions

View File

@ -10,7 +10,6 @@ import java.util.Stack;
import xyz.valnet.engine.math.Box;
import xyz.valnet.engine.math.Vector2i;
import xyz.valnet.engine.math.Vector4f;
import xyz.valnet.engine.math.Vector4i;
import xyz.valnet.engine.scenegraph.GameObject;
import xyz.valnet.engine.scenegraph.IMouseCaptureArea;
@ -121,26 +120,6 @@ public abstract class ImmediateUI extends GameObject implements IMouseCaptureAre
);
}
private void setBoxWidth(float width) {
context = new StackingContext(
context.fixedSize,
new Box(context.box.x, context.box.y, width, context.box.h),
context.occlusionBox,
context.hasRegisteredGuiArea,
context.horizontal
);
}
private void setBoxHeight(float height) {
context = new StackingContext(
context.fixedSize,
new Box(context.box.x, context.box.y, context.box.w, height),
context.occlusionBox,
context.hasRegisteredGuiArea,
context.horizontal
);
}
private void adjustBox(float w, float h) {
if(context.vertical()) {
if(context.fixedSize) {