remove unnecessary hack for emoji rendering

macos-click-through
Keith Simmons 5 years ago
parent 2494b37070
commit 4079f218b3

@ -79,11 +79,6 @@ impl Renderer {
canvas.save();
let region = self.compute_text_region(text, grid_pos, size);
let region = Rect::new(
region.x() - self.font_width,
region.y(),
region.x() + region.width() + self.font_width,
region.y() + region.height());
canvas.clip_rect(region, None, Some(false));

Loading…
Cancel
Save