mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-01-04 20:39:52 +01:00
Issue #205: Editor cannot create white, whitesmoke or transparent annotations
This commit is contained in:
parent
bcf72318ea
commit
8907183591
@ -935,6 +935,11 @@ void PDFObjectEditorMappedColorAdapter::setValue(PDFObject object)
|
||||
const PDFReal blue = qBound(0.0, colors[2], 1.0);
|
||||
color = QColor::fromRgbF(red, green, blue);
|
||||
}
|
||||
else if (colors.size() == 1)
|
||||
{
|
||||
const PDFReal gray = qBound(0.0, colors[0], 1.0);
|
||||
color = QColor::fromRgbF(gray, gray, gray);
|
||||
}
|
||||
|
||||
int index = m_comboBox->findData(color);
|
||||
if (index != -1)
|
||||
|
@ -1,6 +1,7 @@
|
||||
CURRENT:
|
||||
- Issue #207: Zoom to Cursor (Zoom Anchoring)
|
||||
- Issue #206: Name of the executable / command
|
||||
- Issue #205: Editor cannot create white, whitesmoke or transparent annotations
|
||||
- Issue #185: Latest git fails to build in linux
|
||||
|
||||
V: 1.4.0.0 4.7.2024
|
||||
|
Loading…
Reference in New Issue
Block a user