egui: bump to 0.31.1

This commit is contained in:
William Casarin
2025-03-17 18:05:01 -07:00
parent beece0eb95
commit 2d801408b2
12 changed files with 573 additions and 559 deletions

View File

@@ -1,4 +1,4 @@
use egui::{vec2, Align, Color32, RichText, Rounding, Stroke, TextEdit};
use egui::{vec2, Align, Color32, CornerRadius, RichText, Stroke, TextEdit};
use super::{note::contents::NoteContext, padding};
use crate::{
@@ -138,7 +138,7 @@ fn search_box(query: &mut SearchQueryState, ui: &mut egui::Ui) -> bool {
let search_container = egui::Frame {
inner_margin: egui::Margin::symmetric(8, 0),
outer_margin: egui::Margin::ZERO,
rounding: Rounding::same(18), // More rounded corners
corner_radius: CornerRadius::same(18), // More rounded corners
shadow: Default::default(),
fill: Color32::from_rgb(30, 30, 30), // Darker background to match screenshot
stroke: Stroke::new(1.0, Color32::from_rgb(60, 60, 60)),