This commit is contained in:
easong-openai
2025-08-01 10:15:07 -07:00
parent 53c19b4d07
commit 9c0f8a50b6
2 changed files with 0 additions and 3 deletions

View File

@@ -28,8 +28,6 @@ const BASE_PLACEHOLDER_TEXT: &str = "...";
/// If the pasted content exceeds this number of characters, replace it with a
/// placeholder in the UI.
const LARGE_PASTE_CHAR_THRESHOLD: usize = 1000;
/// Keep at least this many rows for the composer when popups are visible.
const MIN_TEXTAREA_HEIGHT: u16 = 3;
/// Result returned when the user interacts with the text area.
pub enum InputResult {

View File

@@ -108,7 +108,6 @@ impl FileSearchPopup {
.map(|file_match| file_match.path.as_str())
}
/// Preferred height (rows) including border.
pub(crate) fn calculate_required_height(&self) -> u16 {
// Row count depends on whether we already have matches. If no matches
// yet (e.g. initial search or query with no results) reserve a single