wip: marker.rs: make order consistent with viewport

parent 1bc6a60d
......@@ -144,8 +144,10 @@ impl NodeMarker {
affine.scale (w / vbox.0.width, h / vbox.0.height);
drawing_ctx::push_view_box (draw_ctx, vbox.0.width, vbox.0.height);
drawing_ctx::push_discrete_layer (draw_ctx);
} else {
drawing_ctx::push_view_box (draw_ctx, marker_width, marker_height);
drawing_ctx::push_discrete_layer (draw_ctx);
}
affine.translate (-self.ref_x.get ().normalize (draw_ctx),
......@@ -159,7 +161,6 @@ impl NodeMarker {
drawing_ctx::set_current_state_affine (draw_ctx, affine);
drawing_ctx::push_discrete_layer (draw_ctx);
let state = drawing_ctx::get_current_state (draw_ctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment