mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fix: #199 zoom toolbar moved into the visible area
This commit is contained in:
+3
-4
@@ -189,11 +189,10 @@ void MapperGLCanvas::createZoomToolsLayout()
|
||||
_zoomToolBar->setLayout(buttonsLayout);
|
||||
}
|
||||
|
||||
void MapperGLCanvas::moveZoomToolbar(const QRect &rect)
|
||||
void MapperGLCanvas::updateZoomToolbar()
|
||||
{
|
||||
|
||||
_zoomToolBar->move(rect.width() - _zoomToolBar->width(),
|
||||
rect.height() - _zoomToolBar->height());
|
||||
_zoomToolBar->move(this->viewport()->width() - _zoomToolBar->width(),
|
||||
this->viewport()->height() - _zoomToolBar->height());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user