Skip to content

Commit

Permalink
qt: fix intf scale factor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzun authored and jbkempf committed Oct 15, 2021
1 parent e24e947 commit 2ec7370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gui/qt/maininterface/main_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ void MainInterface::setHasAcrylicSurface(const bool v)
void MainInterface::incrementIntfUserScaleFactor(bool increment)
{
if (increment)
setIntfUserScaleFactor(m_intfScaleFactor + .1f);
setIntfUserScaleFactor(m_intfUserScaleFactor + .1f);
else
setIntfUserScaleFactor(m_intfScaleFactor - .1f);
setIntfUserScaleFactor(m_intfUserScaleFactor - .1f);
}

void MainInterface::setIntfUserScaleFactor(float newValue)
Expand Down

0 comments on commit 2ec7370

Please sign in to comment.