From 987d8e544d698ca353a084a49c3424498f972ee3 Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Thu, 24 Apr 2025 19:42:09 +0300 Subject: [PATCH] pop-up overlay issue fixed on the nominator table Signed-off-by: Uncle Stinky --- Cargo.toml | 2 +- src/components/wallet/current_validator_details.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5968efc..2337985 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "ghost-eye" authors = ["str3tch "] description = "Application for interacting with Casper/Ghost nodes that are exposing RPC only to the localhost" -version = "0.3.53" +version = "0.3.54" edition = "2021" homepage = "https://git.ghostchain.io/ghostchain" repository = "https://git.ghostchain.io/ghostchain/ghost-eye" diff --git a/src/components/wallet/current_validator_details.rs b/src/components/wallet/current_validator_details.rs index 4731ee7..bd1de7d 100644 --- a/src/components/wallet/current_validator_details.rs +++ b/src/components/wallet/current_validator_details.rs @@ -2,6 +2,7 @@ use std::sync::mpsc::Sender; use color_eyre::Result; use ratatui::{ + widgets::Clear, layout::{Alignment, Constraint, Rect}, text::Text, widgets::{Block, Cell, Row, Table}, @@ -215,6 +216,7 @@ impl Component for CurrentValidatorDetails { .title_style(self.palette.create_title_style(false)) .title("Validator details")); + frame.render_widget(Clear, place); frame.render_widget(table, place); }