1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

[Editor] Count the colors used when highlighting whatever the highlight kind is

This commit is contained in:
Calixte Denizet 2024-02-28 18:24:24 +01:00
parent 07abd647f4
commit 3a7e638fce

View file

@ -106,7 +106,7 @@ class HighlightEditor extends AnnotationEditor {
/** @inheritdoc */
get telemetryFinalData() {
return {
type: this.#telemetryType,
type: "highlight",
color: this._uiManager.highlightColorNames.get(this.color),
};
}