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
parent
312184505c
commit
3c36d8f887
|
@ -1187,6 +1187,7 @@ s:
|
||||||
if(disp.style.v != 0) {
|
if(disp.style.v != 0) {
|
||||||
RgbaColor color = stroke.color;
|
RgbaColor color = stroke.color;
|
||||||
stroke = Style::Stroke(disp.style);
|
stroke = Style::Stroke(disp.style);
|
||||||
|
stroke.layer = Canvas::Layer::FRONT;
|
||||||
if(how != DrawAs::DEFAULT) {
|
if(how != DrawAs::DEFAULT) {
|
||||||
stroke.color = color;
|
stroke.color = color;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue