summaryrefslogtreecommitdiffstats
path: root/src/canvas/drawing_utils.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2020-03-05 23:54:39 -0500
committerGitHub <noreply@github.com>2020-03-05 23:54:39 -0500
commit132a5a2170294f0d5c463ecba77de1aab32183db (patch)
treeb8441a009d78ef2ac58ab2220114b1c2c613e3bf /src/canvas/drawing_utils.rs
parente16eb832fc8709a01f6a8c2fa3233959f00e4f75 (diff)
Fix dialog box height and scroll label (#71)
* Fixes search with small mode by changing the prompt based on size. * Minor fixes for search - Remove ignore unused var lint - Add a bit more spacing to deal with large unicode - Add on-right movement on type * Add contributor's list and bug/req section * Check for div by zero * Fix for dd in terms of sizing. * Added (temporary) fix for help box. Scrolling is the ideal solution but will leave that for another time.
Diffstat (limited to 'src/canvas/drawing_utils.rs')
-rw-r--r--src/canvas/drawing_utils.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/canvas/drawing_utils.rs b/src/canvas/drawing_utils.rs
index c242e6fd..f855ba13 100644
--- a/src/canvas/drawing_utils.rs
+++ b/src/canvas/drawing_utils.rs
@@ -70,7 +70,6 @@ pub fn get_variable_intrinsic_widths(
(resulting_widths, last_index)
}
-#[allow(dead_code, unused_variables)]
pub fn get_search_start_position(
num_columns: usize, cursor_direction: &app::CursorDirection, cursor_bar: &mut usize,
current_cursor_position: usize, is_resized: bool,