summaryrefslogtreecommitdiffstats
path: root/src/app/widgets/bottom_widgets/basic_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/basic_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/basic_net.rs')
-rw-r--r--src/app/widgets/bottom_widgets/basic_net.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/app/widgets/bottom_widgets/basic_net.rs b/src/app/widgets/bottom_widgets/basic_net.rs
index bdb15554..a739fd25 100644
--- a/src/app/widgets/bottom_widgets/basic_net.rs
+++ b/src/app/widgets/bottom_widgets/basic_net.rs
@@ -109,7 +109,6 @@ impl Widget for BasicNet {
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,
&AxisScaling::Linear,
&self.unit_type,