From 3c36d8f887252e7eaaa19a0dfef1c343ebdfccca Mon Sep 17 00:00:00 2001 From: EvilSpirit Date: Wed, 15 Feb 2017 09:27:54 +0700 Subject: [PATCH] Pin comments with custom styles to front layer, like regular ones. This is the 2.x behavior that was accidentally broken in the canvas rewrite. --- src/drawconstraint.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drawconstraint.cpp b/src/drawconstraint.cpp index 5b9de43..49e179b 100644 --- a/src/drawconstraint.cpp +++ b/src/drawconstraint.cpp @@ -1187,6 +1187,7 @@ s: if(disp.style.v != 0) { RgbaColor color = stroke.color; stroke = Style::Stroke(disp.style); + stroke.layer = Canvas::Layer::FRONT; if(how != DrawAs::DEFAULT) { stroke.color = color; }