range indicators, limit tower placement to within range of core

This commit is contained in:
Jim 2025-09-01 19:10:16 -04:00
parent 9c4787f5e2
commit 6a4978041c
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
16 changed files with 350 additions and 60 deletions

View file

@ -155,14 +155,14 @@ fn transition_ui(
return;
}
egui::Window::new("TRANSITION")
.resizable(false)
.collapsible(false)
.title_bar(false)
.anchor(Align2::CENTER_CENTER, [0., 0.])
.fixed_size([600., 200.])
.show(ctx, |ui| {
ui.label(
RichText::new(format!(
"{} {}",
"{} PHASE {}",
match curr_transition.get() {
PhaseTransitionState::None => "WHAT",
PhaseTransitionState::ToExecute => "EXECUTE",