mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Dimensions plugin update
This commit is contained in:
@ -3206,7 +3206,7 @@ void PDFWidgetAnnotation::draw(AnnotationDrawParameters& parameters) const
|
||||
{
|
||||
switch (m_highlightMode)
|
||||
{
|
||||
case LinkHighlightMode::Invert:
|
||||
case HighlightMode::Invert:
|
||||
{
|
||||
// Invert all
|
||||
painter->setCompositionMode(QPainter::CompositionMode_Difference);
|
||||
@ -3214,7 +3214,7 @@ void PDFWidgetAnnotation::draw(AnnotationDrawParameters& parameters) const
|
||||
break;
|
||||
}
|
||||
|
||||
case LinkHighlightMode::Outline:
|
||||
case HighlightMode::Outline:
|
||||
{
|
||||
// Invert the border
|
||||
painter->setCompositionMode(QPainter::CompositionMode_Difference);
|
||||
@ -3226,7 +3226,7 @@ void PDFWidgetAnnotation::draw(AnnotationDrawParameters& parameters) const
|
||||
break;
|
||||
}
|
||||
|
||||
case LinkHighlightMode::Push:
|
||||
case HighlightMode::Push:
|
||||
{
|
||||
// Draw border
|
||||
painter->setCompositionMode(getCompositionMode());
|
||||
|
Reference in New Issue
Block a user