Script debug view below the hover info

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-05 17:53:51 +01:00
1 parent aacc6a00b2
commit 313f24c7df
1 file changed
+2 -1
+2 -1
View File
@@ -1829,7 +1829,8 @@ fn draw_script_debug(app: &App, gfx: &Gfx) {
.collect(); .collect();
let w = ui::CW() * 30.0; let w = ui::CW() * 30.0;
let x = ui::sw() - w - ui::CW(); let x = ui::sw() - w - ui::CW();
let y = ui::CH() * 5.0; // below the hover info at the top right
let y = ui::CH() * 13.0;
draw_rectangle(x, y, w, ui::CH() * (lines.len() as f32 + 1.0), Color::new(0.04, 0.03, 0.03, 0.85)); draw_rectangle(x, y, w, ui::CH() * (lines.len() as f32 + 1.0), Color::new(0.04, 0.03, 0.03, 0.85));
for (k, (l, c)) in lines.iter().enumerate() { for (k, (l, c)) in lines.iter().enumerate() {
let l: String = l.chars().take(29).collect(); let l: String = l.chars().take(29).collect();