Commit 0b1c5d00 authored by Denis Khachko's avatar Denis Khachko

robot in dock

parent e0f2cb98
......@@ -4536,7 +4536,7 @@ void RobotModule::setWindowSize()
{
setScene(roboField);
pressed=false;
inDock=false;
inDock=true;
firstShow=true;
this->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
this->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
......@@ -4686,6 +4686,7 @@ void RobotView::wheelEvent ( QWheelEvent * event )
if(inDock)
{
qDebug()<<"IN DOCK";
scale(1/c_scale,1/c_scale);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment