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.
pull/216/head
EvilSpirit 2017-02-15 09:27:54 +07:00 committed by whitequark
parent 312184505c
commit 3c36d8f887
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}