This commit is contained in:
Anuken
2025-05-09 13:23:33 -04:00
parent 869b3487c4
commit af0d0be294
2 changed files with 7 additions and 2 deletions

View File

@@ -633,6 +633,11 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
public void act(float delta){
if(scene.getDialog() == PlanetDialog.this && (scene.getHoverElement() == null || !scene.getHoverElement().isDescendantOf(e -> e instanceof ScrollPane))){
scene.setScrollFocus(PlanetDialog.this);
if(debugSectorAttackEdit && input.ctrl() && input.keyTap(KeyCode.c)){
Core.app.setClipboardText(state.planet.writeAttackSectorBits());
Vars.ui.showInfoFade("@copied");
}
}
super.act(delta);