forked from 1b-agent/opencadstudio-upstream
style: apply cargo fmt across workspace
This commit is contained in:
1 parent
85710e5454
commit
9cf9ff2c5c
531 files changed
+57740
-33906
No files matched your search
@@ -40,10 +40,7 @@ pub(crate) fn cell_button_style(
|
||||
/// Column-header button style (layers panel).
|
||||
pub(crate) fn header_button_style(theme: &Theme, status: button::Status) -> button::Style {
|
||||
let palette = theme.palette();
|
||||
let highlighted = matches!(
|
||||
status,
|
||||
button::Status::Hovered | button::Status::Pressed
|
||||
);
|
||||
let highlighted = matches!(status, button::Status::Hovered | button::Status::Pressed);
|
||||
let pair = if highlighted {
|
||||
palette.background.strong
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user