renderer: fix highlight_clickable_areas
This commit is contained in:
parent
96239597ed
commit
f0ee5ab8cd
@ -734,7 +734,7 @@ void renderer::highlight_clickable_areas() {
|
|||||||
double h = m_rect.height;
|
double h = m_rect.height;
|
||||||
|
|
||||||
m_context->save();
|
m_context->save();
|
||||||
*m_context << CAIRO_OPERATOR_DIFFERENCE << (n % 2 ? 0xFF00FF00 : 0xFFFF0000);
|
*m_context << CAIRO_OPERATOR_DIFFERENCE << (n % 2 ? rgba{0xFF00FF00} :rgba{0xFFFF0000});
|
||||||
*m_context << cairo::rect{x, y, w, h};
|
*m_context << cairo::rect{x, y, w, h};
|
||||||
m_context->fill();
|
m_context->fill();
|
||||||
m_context->restore();
|
m_context->restore();
|
||||||
|
Loading…
Reference in New Issue
Block a user