mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
remove unuseful std::cout
This commit is contained in:
parent
2dd329938a
commit
8e299bd25b
@ -140,7 +140,6 @@ namespace MWGui
|
|||||||
MyGUI::IntPoint middle = MyGUI::IntPoint(x*size.width,y*size.height);
|
MyGUI::IntPoint middle = MyGUI::IntPoint(x*size.width,y*size.height);
|
||||||
MyGUI::IntCoord viewsize = mMap->getCoord();
|
MyGUI::IntCoord viewsize = mMap->getCoord();
|
||||||
MyGUI::IntPoint pos(0.5*viewsize.width - middle.left, 0.5*viewsize.height - middle.top);
|
MyGUI::IntPoint pos(0.5*viewsize.width - middle.left, 0.5*viewsize.height - middle.top);
|
||||||
std::cout << pos.left << " top " << pos.top << std::endl;
|
|
||||||
mMap->setViewOffset(pos);
|
mMap->setViewOffset(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user