From c65636cc9d48c34037aec455d61e16743fd21049 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 26 Sep 2021 12:06:38 -0400 Subject: [PATCH 1/2] Revert "Deselect TextField with escape key." This reverts commit 0563858b261fd432343c0603122c74e88727e007. --- src/ui/TextField.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ui/TextField.cpp b/src/ui/TextField.cpp index e7087bdd..52ac2f52 100644 --- a/src/ui/TextField.cpp +++ b/src/ui/TextField.cpp @@ -228,11 +228,6 @@ void TextField::onSelectKey(const SelectKeyEvent& e) { } e.consume(this); } - // Escape - if (e.key == GLFW_KEY_ESCAPE && (e.mods & RACK_MOD_MASK) == 0) { - APP->event->setSelectedWidget(NULL); - e.consume(this); - } // Tab if (e.key == GLFW_KEY_TAB && (e.mods & RACK_MOD_MASK) == 0) { if (nextField) From 042a20c982cdc0dccdd1a7813697ab2879927363 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 26 Sep 2021 15:02:16 -0400 Subject: [PATCH 2/2] Increase maximum Browser zoom to 200%. --- src/app/Browser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Browser.cpp b/src/app/Browser.cpp index 3f4c2601..08096cc1 100644 --- a/src/app/Browser.cpp +++ b/src/app/Browser.cpp @@ -445,7 +445,7 @@ struct ZoomButton : ui::ChoiceButton { menu->box.pos = getAbsoluteOffset(math::Vec(0, box.size.y)); menu->box.size.x = box.size.x; - for (float zoom = 0.f; zoom >= -2.f; zoom -= 0.5f) { + for (float zoom = 1.f; zoom >= -2.f; zoom -= 0.5f) { ZoomItem* sortItem = new ZoomItem; sortItem->text = string::f("%.0f%%", std::pow(2.f, zoom) * 100.f); sortItem->zoom = zoom;