mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Removed unused focus, fixed partial prog bar alignment
This commit is contained in:
committed by
Christian Visintin
parent
47f3ffef7b
commit
a1a1631fd2
@@ -229,7 +229,6 @@ impl Component<Msg, NoUserEvent> for Log {
|
|||||||
struct OwnStates {
|
struct OwnStates {
|
||||||
list_index: usize, // Index of selected element in list
|
list_index: usize, // Index of selected element in list
|
||||||
list_len: usize, // Length of file list
|
list_len: usize, // Length of file list
|
||||||
focus: bool, // Has focus?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for OwnStates {
|
impl Default for OwnStates {
|
||||||
@@ -237,7 +236,6 @@ impl Default for OwnStates {
|
|||||||
OwnStates {
|
OwnStates {
|
||||||
list_index: 0,
|
list_index: 0,
|
||||||
list_len: 0,
|
list_len: 0,
|
||||||
focus: false,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -421,7 +421,7 @@ impl FileTransferActivity {
|
|||||||
.attr(
|
.attr(
|
||||||
&Id::ProgressBarPartial,
|
&Id::ProgressBarPartial,
|
||||||
Attribute::Title,
|
Attribute::Title,
|
||||||
AttrValue::Title((filename, Alignment::Left))
|
AttrValue::Title((filename, Alignment::Center))
|
||||||
)
|
)
|
||||||
.is_ok());
|
.is_ok());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user