Skip to content

Commit

Permalink
move laser block checkboxes down a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckscor3 committed Mar 14, 2023
1 parent 19e3a3c commit 9ce46cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void init() {

if (hasSmartModule) {
sideConfig.forEach((dir, enabled) -> {
CallbackCheckbox checkbox = new CallbackCheckbox(leftPos + 10, topPos + dir.get3DDataValue() * 25 + 25, 20, 20, Utils.localize("gui.securitycraft:laser." + dir.getName() + "Enabled"), enabled, newValue -> onChangeValue(dir, newValue), 0x404040);
CallbackCheckbox checkbox = new CallbackCheckbox(leftPos + 10, topPos + dir.get3DDataValue() * 25 + 30, 20, 20, Utils.localize("gui.securitycraft:laser." + dir.getName() + "Enabled"), enabled, newValue -> onChangeValue(dir, newValue), 0x404040);

checkbox.active = be.isEnabled();
addRenderableWidget(checkbox);
Expand Down

0 comments on commit 9ce46cc

Please sign in to comment.