diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-12-27 06:37:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 06:37:47 -0500 |
commit | 32da5f39bb2ee74543bce607249df15885d3cf47 (patch) | |
tree | 64ec96bccdf5e10158dcea64b7107208bf0122a7 /src/canvas/widgets/process_table.rs | |
parent | 0a9a6cfa60fe5f567708755879ae5d03b730efa4 (diff) |
bug: fix dot marker setting not being considered (#934)
* bug: fixes marker settings being ignored while rendering time charts
* appease clippy
Diffstat (limited to 'src/canvas/widgets/process_table.rs')
-rw-r--r-- | src/canvas/widgets/process_table.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canvas/widgets/process_table.rs b/src/canvas/widgets/process_table.rs index 0c1ac693..ca6fd54e 100644 --- a/src/canvas/widgets/process_table.rs +++ b/src/canvas/widgets/process_table.rs @@ -272,7 +272,7 @@ impl Painter { let margined_draw_loc = Layout::default() .constraints([Constraint::Percentage(100)]) - .horizontal_margin(if is_on_widget || draw_border { 0 } else { 1 }) + .horizontal_margin(u16::from(!(is_on_widget || draw_border))) .direction(Direction::Horizontal) .split(draw_loc)[0]; |