Center selected thumb in Filmstrip #5174

When opening an image, selecting the next/previous image or syncing the
Filmstrip, the newly selected thumbnail is centered, unless it lies
within the visible area more than 1 thumbnails-width away from either
edge, in which case centering does not occur.
This commit is contained in:
Morgan Hardwood
2019-02-18 03:10:58 +01:00
parent c85dc2811b
commit d080bba351
3 changed files with 61 additions and 59 deletions

View File

@@ -181,12 +181,13 @@ public:
return tbl ? tbl->isInTabMode() : false;
}
void openNextImage ();
void openPrevImage ();
void openNextImage();
void openPrevImage();
void selectImage(Glib::ustring fname);
void copyProfile ();
void pasteProfile ();
void partPasteProfile ();
void selectImage (Glib::ustring fname);
void openNextPreviousEditorImage (Glib::ustring fname, eRTNav eNextPrevious);
#ifdef WIN32