From 989dd7983b1b45f57026ba38d589c210f37da510 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Mon, 28 Jun 2021 17:10:15 -0400 Subject: [PATCH] Fix Toolbar Size In Normal GUI --- VERSION | 2 +- docs/CHANGELOG.md | 3 +++ mods/src/touch/touch.c | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index e01025862..157e54f3e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.5 +2.0.6 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 2ff4c2e20..e13e9acc9 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +**2.0.6** +* Fix Toolbar Size In Normal GUI + **2.0.5** * Show Reborn Version In Start Screen * External Server Support diff --git a/mods/src/touch/touch.c b/mods/src/touch/touch.c index ac59c353e..d31bc941e 100644 --- a/mods/src/touch/touch.c +++ b/mods/src/touch/touch.c @@ -41,11 +41,11 @@ void init_touch() { patch((void *) 0x4a6c0, disable_cursor_patch); // Add Custom Cursor Rendering overwrite_calls((void *) GameRenderer_render, (void *) GameRenderer_render_injection); - } - // Force Correct Toolbar Size - unsigned char toolbar_patch[4] = {0x01, 0x00, 0x50, 0xe3}; // "cmp r0, #0x1" - patch((void *) 0x257b0, toolbar_patch); + // Force Correct Toolbar Size + unsigned char toolbar_patch[4] = {0x01, 0x00, 0x50, 0xe3}; // "cmp r0, #0x1" + patch((void *) 0x257b0, toolbar_patch); + } // Show Block Outlines int block_outlines = feature_has("Show Block Outlines");