Skip to content

Conversation

BR-
Copy link
Contributor

@BR- BR- commented Oct 2, 2025

image

@YunataSavior
Copy link

This is great! 2 nice-to-haves:

  1. Ability to show in hex instead of decimal.
  2. Ability to turn it off and on.

@BR- BR- force-pushed the show_symbol_size branch from d26a152 to 652f6eb Compare October 4, 2025 04:24
@BR- BR- force-pushed the show_symbol_size branch from 652f6eb to ee02a79 Compare October 4, 2025 04:25
Copy link
Owner

@encounter encounter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a couple minor tweaks

pub diff_colors: Vec<Color32>,
pub diff_bg_color: Option<Color32>,
pub theme: egui::Theme,
pub show_symbol_sizes: ShowSymbolSizeState,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s put this in SymbolViewState instead!


#[derive(serde::Deserialize, serde::Serialize, PartialEq, Debug)]
pub enum ShowSymbolSizeState {
Off,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can derive(Default) and put #[default] on Off

@BR- BR- force-pushed the show_symbol_size branch from ffbb75e to 4fddcd4 Compare October 5, 2025 00:22
@ifarbod
Copy link
Contributor

ifarbod commented Oct 7, 2025

Love this, sort by size (ascending/descending) maybe? xd

Just kidding, this is cool enough on its own.

@encounter
Copy link
Owner

Thanks for the PR!

@encounter encounter merged commit 7810717 into encounter:main Oct 9, 2025
24 checks passed
@BR- BR- deleted the show_symbol_size branch October 9, 2025 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants