It actually works now

It threw errors before
This commit is contained in:
opfromthestart 2021-04-18 15:09:29 -04:00
parent af7b39d8e9
commit 4a1f1b7545
2 changed files with 1 additions and 6 deletions

View File

@ -20,12 +20,6 @@ import ru.windcorp.progressia.client.graphics.input.InputEvent;
import ru.windcorp.progressia.client.graphics.input.KeyEvent;
public class Button extends Interactable {
private Vec2i currentSize;
private boolean isDisabled;
private boolean isClicked;
private Label label;
private LayoutAlign align;
public <T extends InputEvent> Button(String name, Label textLabel, Consumer<Button> onClick) {//, InputListener<T> onClick, Class<? extends T> onClickClass) {
super(name, textLabel);

View File

@ -5,6 +5,7 @@ import com.google.common.eventbus.Subscribe;
import ru.windcorp.progressia.client.graphics.gui.event.FocusEvent;
import ru.windcorp.progressia.client.graphics.gui.event.HoverEvent;
import ru.windcorp.progressia.client.graphics.gui.layout.LayoutAlign;
import glm.vec._2.i.Vec2i;
public class Interactable extends Component {