From 9bcba4b92c6a29a06e2485cf9cf5a9b15ea3d232 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 10 Oct 2016 13:31:29 +0000 Subject: [PATCH] Fix incorrect rendering of XYZ axes in the bottom left corner. --- src/drawentity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drawentity.cpp b/src/drawentity.cpp index 92eec9b0..7e3cf089 100644 --- a/src/drawentity.cpp +++ b/src/drawentity.cpp @@ -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.