BigUI WIP: Moar bread

This commit is contained in:
firestarsdog
2026-07-02 13:04:38 -04:00
parent 0e08829188
commit fa85c848f6
@@ -1189,7 +1189,7 @@ class BreadcrumbController:
mouse_pos = gui_app.last_mouse_event.pos
has_overflow = alpha > FADE_THRESH and len(path) > 3
has_overflow = alpha > FADE_THRESH and len(path) > 4
if has_overflow and alpha >= EXPAND_THRESH:
display_path = list(path)
@@ -1200,7 +1200,7 @@ class BreadcrumbController:
overflow_alpha = 1.0 - (alpha / EXPAND_THRESH)
middle_alpha = 0.0
else:
display_path = list(path) if len(path) <= 3 else [path[0], ("...", "action:breadcrumb_history"), path[-1]]
display_path = list(path) if len(path) <= 4 else [path[0], ("...", "action:breadcrumb_history"), path[-1]]
overflow_alpha = 1.0
middle_alpha = 0.0