mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Need to reset the streams when printing
This commit is contained in:
parent
139c8a8cb5
commit
5af352e65a
2 changed files with 94 additions and 0 deletions
|
@ -1733,6 +1733,11 @@ class ButtonWidgetAnnotation extends WidgetAnnotation {
|
|||
|
||||
this.checkedAppearance = normalAppearance.get(this.data.exportValue);
|
||||
this.uncheckedAppearance = normalAppearance.get("Off") || null;
|
||||
|
||||
this._streams.push(this.checkedAppearance);
|
||||
if (this.uncheckedAppearance) {
|
||||
this._streams.push(this.uncheckedAppearance);
|
||||
}
|
||||
}
|
||||
|
||||
_processRadioButton(params) {
|
||||
|
@ -1767,6 +1772,11 @@ class ButtonWidgetAnnotation extends WidgetAnnotation {
|
|||
|
||||
this.checkedAppearance = normalAppearance.get(this.data.buttonValue);
|
||||
this.uncheckedAppearance = normalAppearance.get("Off") || null;
|
||||
|
||||
this._streams.push(this.checkedAppearance);
|
||||
if (this.uncheckedAppearance) {
|
||||
this._streams.push(this.uncheckedAppearance);
|
||||
}
|
||||
}
|
||||
|
||||
_processPushButton(params) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue