Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vE5li committed Feb 29, 2024
1 parent 9012d7f commit 2639664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/interface/elements/profiler/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,7 @@ impl Element for FrameInspectorView {
.state
.element_renderer(render_target, renderer, interface_settings, parent_position, screen_clip);

renderer.render_background(
theme.profiler.corner_radius.get(),
theme.profiler.background_color.get(),
);
renderer.render_background(theme.profiler.corner_radius.get(), theme.profiler.background_color.get());

let mut colors = super::ColorLookup::default();

Expand Down
5 changes: 1 addition & 4 deletions src/interface/elements/values/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ impl Element for StringValue {
.state
.element_renderer(render_target, renderer, interface_settings, parent_position, screen_clip);

renderer.render_background(
theme.value.corner_radius.get(),
theme.value.hovered_background_color.get(),
);
renderer.render_background(theme.value.corner_radius.get(), theme.value.hovered_background_color.get());

renderer.render_text(
&self.value,
Expand Down

0 comments on commit 2639664

Please sign in to comment.