From 2954208d00d422b34fa3a69631b0a091f17a349d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 2 Dec 2020 08:23:52 +0100 Subject: 5.44 --- hacks/xmatrix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hacks/xmatrix.c') diff --git a/hacks/xmatrix.c b/hacks/xmatrix.c index 45c5f9d..70f6516 100644 --- a/hacks/xmatrix.c +++ b/hacks/xmatrix.c @@ -1311,7 +1311,7 @@ hack_text (m_state *state) /* Stupid iPhone X bezel. #### This is the worst of all possible ways to do this! But how else? */ - if (state->xgwa.width == 2436 || state->xgwa.height == 2436) + if (state->xgwa.width == 1218 || state->xgwa.height == 1218) switch (state->mode) { case TRACE_TEXT_A: @@ -1319,7 +1319,7 @@ hack_text (m_state *state) case KNOCK: case NMAP: { - int off = 5 * (state->small_p ? 2 : 1); + int off = 2 * (state->small_p ? 2 : 1); if (state->xgwa.width > state->xgwa.height) { state->typing_left_margin += off; -- cgit v1.2.3-55-g7522