summaryrefslogtreecommitdiffstats
path: root/src/app.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-02-19 17:57:39 -0500
committerGitHub <noreply@github.com>2021-02-19 17:57:39 -0500
commitcb1191ff355c79f9e8c3ee47234e8ef6da14e504 (patch)
tree87b186037ed9db165dac8d65f02c53a7844e6276 /src/app.rs
parentf2975c3a7cfdf5d5b287313b78c5cbb7367a04e1 (diff)
deps: Update various deps as per 2021-02-19 (#420)
Major update is tui-rs from 0.13 to 0.14. This change allows us to update our tables to make them look nicer!
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.rs b/src/app.rs
index ba06a28a..8be7394d 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -2757,7 +2757,7 @@ impl App {
/// Moves the mouse to the widget that was clicked on, then propagates the click down to be
/// handled by the widget specifically.
- pub fn left_mouse_click_movement(&mut self, x: u16, y: u16) {
+ pub fn on_left_mouse_up(&mut self, x: u16, y: u16) {
// Pretty dead simple - iterate through the widget map and go to the widget where the click
// is within.
@@ -2769,6 +2769,7 @@ impl App {
// Short circuit if we're in basic table... we might have to handle the basic table arrow
// case here...
+
if let Some(bt) = &mut self.basic_table_widget_state {
if let (
Some((left_tlc_x, left_tlc_y)),