- improve support for on the fly rotation of our window. Schedule the image update for a future frame so we don't block right away and clear the current image. This also fixes loading multiple images during a rotation as it takes time for geometry changes to apply to QT

This commit is contained in:
Alfred Reynolds
2021-08-06 17:29:28 +12:00
parent a2c452fdcd
commit 2e96ea4814
3 changed files with 31 additions and 25 deletions

View File

@@ -14,6 +14,7 @@ class ImageSwitcher : public QObject
public:
ImageSwitcher(MainWindow& w, unsigned int timeout, std::unique_ptr<ImageSelector>& selector);
void start();
void scheduleImageUpdate();
public slots:
void updateImage();