mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: disable PDF annotation button (#26004)
This commit is contained in:
@@ -66,9 +66,7 @@ void AddAdditionalDataForPdf(base::DictionaryValue* dict) {
|
||||
dict->SetKey("pdfFormSaveEnabled",
|
||||
base::Value(base::FeatureList::IsEnabled(
|
||||
chrome_pdf::features::kSaveEditedPDFForm)));
|
||||
dict->SetKey("pdfAnnotationsEnabled",
|
||||
base::Value(base::FeatureList::IsEnabled(
|
||||
chrome_pdf::features::kPDFAnnotations)));
|
||||
dict->SetKey("pdfAnnotationsEnabled", base::Value(false));
|
||||
dict->SetKey("printingEnabled", base::Value(true));
|
||||
#endif // BUILDFLAG(ENABLE_PDF)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user