Fix incorrect rendering of XYZ axes in the bottom left corner.

pull/66/head
whitequark 2016-10-10 13:31:29 +00:00
parent a8e723381c
commit 9bcba4b92c
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ void Entity::Draw(DrawAs how, Canvas *canvas) {
}
stroke.layer = (asReference) ? Canvas::Layer::FRONT : Canvas::Layer::NORMAL;
if(how == DrawAs::DEFAULT) {
if(how != DrawAs::HOVERED && how != DrawAs::SELECTED) {
// Always draw the x, y, and z axes in red, green, and blue;
// brighter for the ones at the bottom left of the screen,
// dimmer for the ones at the model origin.