From 44f77c9e82ac4760e43e3ab984af095bb6f83ad0 Mon Sep 17 00:00:00 2001
From: Jonas Jenwald <jonas.jenwald@gmail.com>
Date: Tue, 2 Aug 2022 10:26:46 +0200
Subject: [PATCH] Don't include `images/toolbarButton-editorInk.svg` in the
 `gulp components` build (issue 15260)

Given that this image is intended specifically for the default viewer, we simply use the CSS preprocessor to remove the image reference in the `gulp components` build.
Considering that the issue only affects a CSS file, I don't believe that replacing the *just released* PDF.js version is actually necessary here.
---
 web/annotation_editor_layer_builder.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/web/annotation_editor_layer_builder.css b/web/annotation_editor_layer_builder.css
index 7e38fcd81..82326284b 100644
--- a/web/annotation_editor_layer_builder.css
+++ b/web/annotation_editor_layer_builder.css
@@ -18,7 +18,11 @@
   --hover-outline: dashed 2px blue;
   --freetext-line-height: 1.35;
   --freetext-padding: 2px;
+  /*#if COMPONENTS*/
+  --editorInk-editing-cursor: pointer;
+  /*#else*/
   --editorInk-editing-cursor: url(images/toolbarButton-editorInk.svg) 0 16;
+  /*#endif*/
 }
 
 @media (forced-colors: active) {