mirror of
https://github.com/YACReader/yacreader
synced 2025-07-27 01:15:07 -04:00
update the slider when the zoom changes
This commit is contained in:
@ -539,6 +539,7 @@ void MainWindowViewer::createToolBars()
|
||||
|
||||
connect(showZoomSliderlAction,SIGNAL(triggered()),this,SLOT(toggleFitToWidthSlider()));
|
||||
connect(zoomSliderAction, SIGNAL(zoomRatioChanged(float)),viewer,SLOT(updateZoomRatio(float)));
|
||||
connect(viewer,SIGNAL(zoomUpdated(float)),zoomSliderAction,SLOT(updateZoomRatio(float)));
|
||||
#endif
|
||||
|
||||
comicToolBar->addAction(leftRotationAction);
|
||||
|
Reference in New Issue
Block a user