Skip to content

Commit

Permalink
Progressing #36
Browse files Browse the repository at this point in the history
  • Loading branch information
Alastair Carey committed Jul 30, 2023
1 parent 8dccce8 commit fd70d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ pub async fn get_image_data_for_page(
&PdfRenderConfig::new()
.set_target_size(width, height)
.render_form_data(true)
.highlight_text_form_fields(PdfColor::SOLID_YELLOW.with_alpha(128))
.highlight_checkbox_form_fields(PdfColor::SOLID_BLUE.with_alpha(128)),
.highlight_text_form_fields(PdfColor::YELLOW.with_alpha(128))
.highlight_checkbox_form_fields(PdfColor::BLUE.with_alpha(128)),
)
.unwrap()
.as_image_data()
Expand Down

0 comments on commit fd70d38

Please sign in to comment.