From 1776dd8007169ef4f04969f0a5edcc423b6d67bc Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 3 Dec 2026 18:14:49 +0400 Subject: feat(ui): restore cockpit status indicators --- apps/fparkan-game/src/cockpit_dial.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/fparkan-game/src/cockpit_dial.rs') diff --git a/apps/fparkan-game/src/cockpit_dial.rs b/apps/fparkan-game/src/cockpit_dial.rs index ff422dea..f9063313 100644 --- a/apps/fparkan-game/src/cockpit_dial.rs +++ b/apps/fparkan-game/src/cockpit_dial.rs @@ -177,7 +177,10 @@ fn vertex([x, y]: [f32; 2], uv: [f32; 2], color: [f32; 3]) -> VulkanStaticVertex ) } -fn atlas_material(preview: &mut StaticPreviewScene, page: RgbaImage) -> Result { +pub(super) fn atlas_material( + preview: &mut StaticPreviewScene, + page: RgbaImage, +) -> Result { let material = append_environment_gradient_material(&mut preview.materials)?; preview.materials[material].screen_tl = true; preview.materials[material].sky_far_depth = false; @@ -190,7 +193,7 @@ fn atlas_material(preview: &mut StaticPreviewScene, page: RgbaImage) -> Result