summaryrefslogtreecommitdiffstats
path: root/src/app/widgets/bottom_widgets/net.rs
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2021-09-08 23:12:49 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2021-09-11 00:46:34 -0400
commite7b9c729123eda386f12ce90faaa413bf516fed3 (patch)
tree3db767c1d23c35aeebdcf9ee2c0a92009e9416e1 /src/app/widgets/bottom_widgets/net.rs
parent587987a2a5cfa9b946cab3f88df37cf7cc1b94fc (diff)
refactor: add general keybinds, fix buggy movement
Adds back some of the general program keybinds, and fixes both a bug causing widget movement via keybinds to be incorrect, and not correcting the last selected widget in the layout tree rows/cols after clicking/setting the default widget!
Diffstat (limited to 'src/app/widgets/bottom_widgets/net.rs')
-rw-r--r--src/app/widgets/bottom_widgets/net.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/app/widgets/bottom_widgets/net.rs b/src/app/widgets/bottom_widgets/net.rs
index d9c0b799..b02b957f 100644
--- a/src/app/widgets/bottom_widgets/net.rs
+++ b/src/app/widgets/bottom_widgets/net.rs
@@ -568,7 +568,6 @@ impl Widget for NetGraph {
fn update_data(&mut self, data_collection: &DataCollection) {
let network_data = convert_network_data_points(
data_collection,
- false, // TODO: I think the is_frozen here is also useless; see mem and cpu
false,
&self.scale_type,
&self.unit_type,
@@ -709,7 +708,6 @@ impl Widget for OldNetGraph {
fn update_data(&mut self, data_collection: &DataCollection) {
let network_data = convert_network_data_points(
data_collection,
- false, // TODO: I think the is_frozen here is also useless; see mem and cpu
true,
&self.net_graph.scale_type,
&self.net_graph.unit_type,