Added support for sorting when looking to manually add a release

This commit is contained in:
2023-08-08 10:50:05 -06:00
parent 3ae5020051
commit 08eabb24db
8 changed files with 411 additions and 24 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ impl HorizontallyScrollableText {
}
pub fn scroll_or_reset(&self, width: usize, is_current_selection: bool) {
if is_current_selection && self.text.len() > width {
if is_current_selection && self.text.len() - 8 > width {
self.scroll_text();
} else {
self.reset_offset();