Skip to content

Commit

Permalink
opt:remove default property in the ui
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Feb 21, 2025
1 parent 2764b82 commit b156466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3625,14 +3625,14 @@ void MainWindow::scaleArticlesByCurrentZoomFactor()

void MainWindow::doWordsZoomIn()
{
cfg.preferences.wordsZoomLevel = cfg.preferences.wordsZoomLevel + 2;
++cfg.preferences.wordsZoomLevel;

applyWordsZoomLevel();
}

void MainWindow::doWordsZoomOut()
{
cfg.preferences.wordsZoomLevel = cfg.preferences.wordsZoomLevel - 2;
--cfg.preferences.wordsZoomLevel;

applyWordsZoomLevel();
}
Expand Down

0 comments on commit b156466

Please sign in to comment.