From 0f0627a53e897b7fa378e860aca81f159861e092 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 27 Jun 2020 16:44:26 +0200 Subject: [PATCH] Eeschema: add 4 new zoom levels (0.1, 0.15, 0.2, 0.3) in context menu. However, to see them in context menu, the old eeschema.json config file must be deleted, because it contains the list of allowed zooms. --- eeschema/eeschema_config.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eeschema/eeschema_config.cpp b/eeschema/eeschema_config.cpp index 9eb41b63b9..0347d88118 100644 --- a/eeschema/eeschema_config.cpp +++ b/eeschema/eeschema_config.cpp @@ -442,7 +442,11 @@ void SCH_BASE_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg ) if( aCfg->m_Window.zoom_factors.empty() ) { - aCfg->m_Window.zoom_factors = { 0.5, + aCfg->m_Window.zoom_factors = { 0.1, + 0.15, + 0.2, + 0.3, + 0.5, 0.7, 1.0, 1.5,