summaryrefslogtreecommitdiff
path: root/platform/gl
diff options
context:
space:
mode:
authorPaul Gardiner <paul@Pauls-Mac.site>2018-02-12 10:32:39 +0000
committerPaul Gardiner <paul@Pauls-Mac.site>2018-02-12 10:33:43 +0000
commite0ccccb41278b9c6dcc27810522d716629798f87 (patch)
tree38f481d44f70bf1ebf7b108d1ddbd9b084305fa0 /platform/gl
parentb0df4dfd2b4fbb6f4facbc80195c52df605ec76a (diff)
downloadmupdf-e0ccccb41278b9c6dcc27810522d716629798f87.tar.xz
Fix changed annotations not marked as dirty
Events such as mouse up/down can cause a change to the appearance of a widget annotation. That the change has happened is flagged by incrementing the iteration count of the appearance stream. The widget is then recognised as dirty when the ap_iteration value, stored in the pdf_widget structure, differs from the appearance stream's actual iteration. This commit removes a line of code that wrongly reset the iteration to 1 each time load_or_create_form was called, hence masking the widget being dirty.
Diffstat (limited to 'platform/gl')
0 files changed, 0 insertions, 0 deletions