From 552e4ebc6e35c4a0bfcde4dfc667ee7df3cca8c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Drahn=C3=ADk?= Date: Mon, 30 Oct 2023 19:20:46 +0100 Subject: [PATCH] Save current tab-zooms on smooth zoom change --- src/Widgets/TerminalWidget.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Widgets/TerminalWidget.vala b/src/Widgets/TerminalWidget.vala index 72b3220fd2..61adc24331 100644 --- a/src/Widgets/TerminalWidget.vala +++ b/src/Widgets/TerminalWidget.vala @@ -215,10 +215,10 @@ namespace Terminal { if (total_delta_y >= 0.5) { total_delta_y = 0; - decrement_size (); + window.get_simple_action (MainWindow.ACTION_ZOOM_OUT_FONT).activate (null); } else if (total_delta_y <= -0.5) { total_delta_y = 0; - increment_size (); + window.get_simple_action (MainWindow.ACTION_ZOOM_IN_FONT).activate (null); } return Gdk.EVENT_STOP;