Skip to content

Commit 0e31a0a

Browse files
committed
Closes #1615
1 parent 5b6d334 commit 0e31a0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Interface/Modules/Render/ViewScene.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void ViewSceneDialog::mousePressEvent(QMouseEvent* event)
217217

218218
void ViewSceneDialog::resizeEvent(QResizeEvent *event)
219219
{
220-
resizeTimer_.start(500);
220+
resizeTimer_.start(400);
221221
ModuleDialogGeneric::resizeEvent(event);
222222
}
223223

src/Modules/Visualization/ShowString.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ GeometryBaseHandle ShowString::buildGeometryObject(const std::string& text)
212212

213213
auto dims = textBuilder_->getStringDims(text);
214214
auto length = std::get<0>(dims) + 20;
215+
auto width = std::get<1>(dims) + 10;
215216
xTrans *= 1 - length / std::get<0>(lastWindowSize_);
216-
217-
std::cout << "Rows from string dims: " << std::get<1>(dims) << " yTrans: " << yTrans << std::endl;
217+
yTrans *= 1 - width / std::get<1>(lastWindowSize_);
218218

219219
Vector trans(xTrans, yTrans, 0.0);
220220
textBuilder_->printString(text, trans, Vector(), text, *geom);

0 commit comments

Comments
 (0)