Skip to content

Commit

Permalink
Sequences are maxed at 64 steps
Browse files Browse the repository at this point in the history
updated folder sorting
  • Loading branch information
RuiVarela committed Feb 4, 2023
1 parent 6f2db34 commit 6ad33ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ namespace sns {
names.push_back(DefaultSessionName);

std::string path = mergePaths(rootFolder(), PROJECTS_FOLDER_NAME);
auto contents = getDirectoryContents(path);
auto contents = getDirectoryContents(path, DirectorySorting::DirectorySortingAlphabetical);
for (auto current : contents) {
if (fileType(mergePaths(path, current)) != FileType::FileDirectory)
continue;
Expand Down
2 changes: 1 addition & 1 deletion app/ConfigurationPresets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace sns {
};

static void storeGatherJsonFolder(std::string const& path, std::vector<std::string>& names) {
auto contents = getDirectoryContents(path);
auto contents = getDirectoryContents(path, DirectorySorting::DirectorySortingAlphabetical);
for (auto current : contents) {
if (getFileExtension(current) != "json")
continue;
Expand Down
2 changes: 1 addition & 1 deletion app/tools/SequencerWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ namespace sns {
m_cfg_updated = true;
}
ImGui::PopButtonRepeat();
m_cfg.step_count = clampTo(m_cfg.step_count, 2, 40);
m_cfg.step_count = clampTo(m_cfg.step_count, 2, 64);
}

}
Expand Down

0 comments on commit 6ad33ba

Please sign in to comment.