Prepare Windows installer release

This commit is contained in:
lenn
2026-06-30 17:43:02 +08:00
parent 444c20f233
commit 1ed729f8da
8 changed files with 255 additions and 50 deletions

View File

@@ -1,5 +1,5 @@
#![allow(dead_code)]
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
mod app;
mod breakout;
mod connection;

View File

@@ -29,7 +29,7 @@ pub struct DesignMetrics {
}
pub const ONE_DARK_PRO: AppTheme = AppTheme {
bg: egui::Color32::from_rgb(30, 40, 50),
bg: egui::Color32::BLACK,
panel: egui::Color32::from_rgb(22, 28, 35),
panel_strong: egui::Color32::from_rgb(34, 43, 54),
panel_deep: egui::Color32::from_rgb(15, 20, 27),

View File

@@ -699,8 +699,8 @@ pub fn draw_stats_panel(
force_history: &[f32],
_spatial_force: Option<HudSpatialForce>,
) {
const PANEL_WIDTH: f32 = 420.0;
const PANEL_HEIGHT: f32 = 380.0;
const PANEL_WIDTH: f32 = 380.0;
const PANEL_HEIGHT: f32 = 340.0;
const PANEL_OUTSIDE_GAP: f32 = 18.0;
let force_active = has_recent_resultant_force(force_history);