Skip to content

Commit

Permalink
Fix bug with mouse coordinate label not showing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jswift-stfc committed May 24, 2022
1 parent 5350af8 commit 684fac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenegraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void MildredWidget::createSceneGraph()
RenderableMaterial::GeometryShaderType::None, RenderableMaterial::FragmentShaderType::Monochrome);
mouseCoordLabelMaterial->setAmbient(QColor(0, 0, 0, 255));
mouseCoordEntity_ = new TextEntity(sceneObjectsEntity_, QString("0.0, 0.0"));
mouseCoordEntity_->addComponent(mouseCoordLabelMaterial);
mouseCoordEntity_->setMaterial(mouseCoordLabelMaterial);
mouseCoordEntity_->setFont(QFont("monospace", 10.0));
mouseCoordEntity_->setAnchorPoint(MildredMetrics::AnchorPoint::BottomLeft);
mouseCoordEntity_->setEnabled(false);
Expand Down

0 comments on commit 684fac9

Please sign in to comment.