This commit is contained in:
thrust26 2019-03-23 20:10:03 +01:00
parent 8553aea3ba
commit 9dc53042c5
1 changed files with 3 additions and 1 deletions

View File

@ -78,7 +78,9 @@ void TiaOutputWidget::saveSnapshot(int execDepth, const string& execPrefix)
height = instance().console().tia().height();
FBSurface& s = dialog().surface();
GUI::Rect rect(_x, _y, _x + width*2, _y + height);
// to skip borders, add 1 to origin
int x = _x + 1, y = _y + 1;
GUI::Rect rect(x, y, x + width*2, y + height);
string message = "Snapshot saved";
try
{