Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaust committed Feb 8, 2025
1 parent 33f0917 commit b6f8ebb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/platform_impl/windows/dark_menu_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ fn selected_background_brush() -> HBRUSH {
const SELECTED_BACKGROUND_COLOR: u32 = 4276545;
static SELECTED_BACKGROUND_BRUSH: OnceCell<HBrush> = OnceCell::new();

let hbrush = SELECTED_BACKGROUND_BRUSH.get_or_init(|| HBrush(CreateSolidBrush(SELECTED_BACKGROUND_COLOR)));
let hbrush = SELECTED_BACKGROUND_BRUSH
.get_or_init(|| HBrush(CreateSolidBrush(SELECTED_BACKGROUND_COLOR)));
hbrush.as_ref().unwrap().0
}

Expand Down

0 comments on commit b6f8ebb

Please sign in to comment.