From 8c89b4dc2c9e0ca9a7fc18c6a709337df47304a5 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Wed, 15 Mar 2023 12:49:30 +0000 Subject: [PATCH] cleanup: Remove debug prints --- src/state.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/state.rs b/src/state.rs index 80bdb2ec..775194e9 100644 --- a/src/state.rs +++ b/src/state.rs @@ -391,14 +391,14 @@ Outcome: }; let ideal_panel_height = Rational { numerator: ideal_height_px as i32, - denominator: dbg!(px_size.width), + denominator: px_size.width, }; // Reduce height to match what the layout can fill. // For this, we need to guess if normal or wide will be picked. // This must match `eek_gtk_keyboard.c::get_type`. // TODO: query layout database and choose one directly let (arrangement, height_as_widths) = { - if max_wide_height < dbg!(ideal_panel_height) {( + if max_wide_height < ideal_panel_height {( ArrangementKind::Base, Rational { numerator: 210, @@ -412,7 +412,7 @@ Outcome: let height = cmp::min( - dbg!(ideal_height_px), + ideal_height_px, (height_as_widths * px_size.width as i32).ceil() as u32, );