mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fix #57
This commit is contained in:
@@ -384,7 +384,7 @@ TextLayoutP TextViewer::extractLayoutInfo() const {
|
||||
}
|
||||
}
|
||||
for (size_t i=0; i+1 < layout->blocks.size() ; ++i) {
|
||||
layout->separators.push_back((layout->blocks[i]->bottom() + layout->blocks[i]->top)/2);
|
||||
layout->separators.push_back((layout->blocks[i]->bottom() + layout->blocks[i+1]->top)/2);
|
||||
}
|
||||
return layout;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user