From c9326547681a352d815b8327e165cd90b59d0ec7 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 14 Dec 2020 07:37:05 -0500 Subject: [PATCH] Set larger default zoom level. Fix bug in translucent MenuOverlay background. --- src/app/TipWindow.cpp | 2 +- src/settings.cpp | 2 +- src/ui/MenuOverlay.cpp | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/TipWindow.cpp b/src/app/TipWindow.cpp index 1df704b7..6ddbc192 100644 --- a/src/app/TipWindow.cpp +++ b/src/app/TipWindow.cpp @@ -46,7 +46,7 @@ static std::vector tipInfos = { {"Follow VCV Rack on Twitter for new modules, product announcements, and development news.", "Twitter @vcvrack", "https://twitter.com/vcvrack"}, // reviewed {"Did you know that patch cables in Rack can carry up to 16 signals? You can use this feature to build polyphonic patches with modules having the “Polyphonic” tag. Cables carrying more than 1 signal appear thicker than normal cables. To try out polyphony, add the VCV MIDI-CV module to your patch, right-click its panel, and select your desired number of polyphonic channels.", "Learn more about polyphony in VCV Rack", "https://vcvrack.com/manual/Polyphony"}, // reviewed {"Know C++ programming and want to create your own modules for Rack? Developing Rack modules is a great way to learn digital signal processing and quickly test your ideas with an easy-to-learn platform.\n\nDownload the Rack SDK and follow the official tutorial to get started.", "Plugin Development Tutorial", "https://vcvrack.com/manual/PluginDevelopmentTutorial"}, // reviewed - {"Confused about how to use a particular module? Right-click its panel and choose “Info > User manual”.\n\nYou can also open the module's Info menu to view the module's tags, website, VCV Library entry, and changelog.", "", ""}, // reviewed + {"Wondering how to use a particular module? Right-click its panel and choose “Info > User manual”.\n\nYou can also open the module's Info menu to view the module's tags, website, VCV Library entry, and changelog.", "", ""}, // reviewed {"Did you know that ModularGrid is interconnected with the VCV Library? If a Eurorack version of a Rack module is available, right-click its panel and choose “Info > ModularGrid”, or click the “ModularGrid” link on its VCV Library page.\nOn ModularGrid.net, search for the “Available for VCV Rack” link if a hardware module has a virtual Rack version.", "Example: Grayscale Permutation on ModularGrid", "https://www.modulargrid.net/e/grayscale-permutation-18hp"}, // reviewed // {"", "", ""}, }; diff --git a/src/settings.cpp b/src/settings.cpp index e46fa02c..52e66712 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -19,7 +19,7 @@ bool headless = false; std::string token; math::Vec windowSize; math::Vec windowPos; -float zoom = 0.0; +float zoom = 0.25; bool invertZoom = false; float cableOpacity = 0.5; float cableTension = 0.5; diff --git a/src/ui/MenuOverlay.cpp b/src/ui/MenuOverlay.cpp index 74ed3f68..59a57bcf 100644 --- a/src/ui/MenuOverlay.cpp +++ b/src/ui/MenuOverlay.cpp @@ -6,9 +6,10 @@ namespace ui { void MenuOverlay::draw(const DrawArgs& args) { - // Possible translucent background + // Translucent background + nvgBeginPath(args.vg); nvgRect(args.vg, 0, 0, VEC_ARGS(box.size)); - nvgFillColor(args.vg, nvgRGBAf(0, 0, 0, 0.333)); + nvgFillColor(args.vg, nvgRGBAf(0, 0, 0, 0.33)); nvgFill(args.vg); OpaqueWidget::draw(args);