Skip to content

Commit

Permalink
SetDefaultTo sets the default and current zoom.
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Apr 10, 2020
1 parent 64080f7 commit aee5d3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/gui/SurgeGUIEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3611,6 +3611,7 @@ void SurgeGUIEditor::showSettingsMenu(CRect &menuRect)
spawn_miniedit_text(c, 16);
int newVal = ::atoi(c);
Surge::Storage::updateUserDefaultValue(&(this->synth->storage), "defaultZoom", newVal);
this->setZoomFactor(newVal);
});
zid++;

Expand Down

0 comments on commit aee5d3a

Please sign in to comment.