Skip to content

Commit

Permalink
Minor tweaks/fixes
Browse files Browse the repository at this point in the history
- Fixed MIDI pause/resume setting seek bar to wrong spot
- Updated wx commit to latest
  • Loading branch information
sirjuddington committed Dec 24, 2024
1 parent 54b5de4 commit cf97476
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(BUILD_WX)
FetchContent_Declare(
wxWidgets
GIT_REPOSITORY https://github.com/wxWidgets/wxWidgets.git
GIT_TAG 5edd516add0051d6f51ec87b8001999b6c4035a6 # master (3.3.0) as of 2024-11-26
GIT_TAG 181f7a1d5533a3b135de1fd8f0467ba15a8a9f69 # master (3.3.0) as of 2024-11-26
)
FetchContent_GetProperties(wxwidgets)
if(NOT wxwidgets_POPULATED)
Expand Down
2 changes: 1 addition & 1 deletion src/Audio/MIDIPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class FluidSynthMIDIPlayer : public MIDIPlayer
if (!isPlaying())
return false;

elapsed_ms_ = timer_.getElapsedTime().asMilliseconds();
elapsed_ms_ += timer_.getElapsedTime().asMilliseconds();

return fluid_player_stop(fs_player_) == FLUID_OK;
}
Expand Down
1 change: 1 addition & 0 deletions src/UI/Lists/ArchiveEntryTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ ArchiveEntryTree::ArchiveEntryTree(
archive_{ archive }
{
// Init settings
SetDoubleBuffered(true);
SetRowHeight(ui::scalePx(elist_icon_size + (elist_icon_padding * 2) + 2));
if (list_font_monospace)
SetFont(wxutil::monospaceFont(GetFont()));
Expand Down

0 comments on commit cf97476

Please sign in to comment.