Skip to content

Commit

Permalink
Save current tab-zooms on smooth zoom change
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrahnik committed Oct 30, 2023
1 parent e67ddeb commit 552e4eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Widgets/TerminalWidget.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 552e4eb

Please sign in to comment.