Skip to content

Commit

Permalink
Added auto hiding of pixel bar when auto playback is on and loading a…
Browse files Browse the repository at this point in the history
…n image.
  • Loading branch information
ggarra13 committed Apr 30, 2024
1 parent 650bd99 commit bdcdab4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2,046 deletions.
11 changes: 11 additions & 0 deletions mrv2/lib/mrvApp/mrvApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,17 @@ namespace mrv
p.filesModel->add(item);
}


// If we have autoplayback on and auto hide pixel bar, do so here.
const bool autoHide = ui->uiPrefs->uiPrefsAutoHidePixelBar->value();
const bool autoPlayback = ui->uiPrefs->uiPrefsAutoPlayback->value();
const bool pixelToolbar = ui->uiPixelBar->visible();
if (autoPlayback && autoHide && pixelToolbar)
{
toggle_pixel_bar(nullptr, ui);
Fl::flush();
}

if (ui->uiPrefs->SendMedia->value())
{
Message msg;
Expand Down
Loading

0 comments on commit bdcdab4

Please sign in to comment.