mirror of
https://github.com/YACReader/yacreader
synced 2026-02-01 04:40:12 -05: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