random small fixes

This commit is contained in:
2025-09-05 13:24:16 +01:00
parent 81b4b26f96
commit a9a965462a
5 changed files with 16 additions and 17 deletions
+2 -6
View File
@@ -1,10 +1,6 @@
use crate::{
features,
gui::{
settings::{Settings, Theme},
tools,
ui_ext::UiExt,
},
gui::{settings::Settings, tools, ui_ext::UiExt},
util::{consts::game::WINDOW_TITLE, meta::Meta, persistent_state::PersistentState, win},
};
use eframe::egui;
@@ -217,7 +213,7 @@ impl App {
ui.label("with ");
ui.hyperlink_to("", "https://codeberg.org/futile/gta-tools");
ui.label(" from ");
ui.hyperlink_to("futile", "http://futile.eu");
ui.hyperlink_to("futile", "https://futile.eu");
});
ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| {
ui.label(format!(
+1 -1
View File
@@ -10,7 +10,7 @@ use eframe::egui;
fn panic_hook(panic_info: &std::panic::PanicHookInfo<'_>) {
let backtrace = std::backtrace::Backtrace::capture();
let message = format!("{panic_info}\nstack backtrace:\n{backtrace}\n");
log::log(log::LogLevel::Panic, message);
log::log(log::LogLevel::Panic, &message);
}
fn app_creator(