range indicators, limit tower placement to within range of core
This commit is contained in:
parent
9c4787f5e2
commit
6a4978041c
16 changed files with 350 additions and 60 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue