-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Editor] Change the cursors for highlighting (bug 1876588) #17581
Conversation
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/4c5b8eb2e19d281/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/4c5b8eb2e19d281/output.txt Total script time: 1.24 mins Published |
c03ae14
to
82476cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As-is this patch will cause issues in the standalone viewer-components (and likely lead to user complaints). Please update
Lines 1087 to 1093 in 4ec4348
const COMPONENTS_IMAGES = [ | |
"web/images/annotation-*.svg", | |
"web/images/loading-icon.gif", | |
"web/images/altText_*.svg", | |
"web/images/editor-toolbar-*.svg", | |
"web/images/toolbarButton-menuArrow.svg", | |
]; |
"web/images/cursor-*.svg"
"web/images/toolbarButton-editorHighlight.svg",
82476cc
to
13afb81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we bundle the cursor-*.svg
files even in the viewer-components, I think that we could simplify some existing CSS rules in this file. Hence we can change:
pdf.js/web/annotation_editor_layer_builder.css
Lines 41 to 45 in 4ec4348
/*#if COMPONENTS*/ --editorInk-editing-cursor: pointer; /*#else*/ --editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16, pointer; /*#endif*/ --editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16, pointer;
unconditionally.pdf.js/web/annotation_editor_layer_builder.css
Lines 50 to 53 in 4ec4348
/*#if !COMPONENTS*/ --editorFreeText-editing-cursor: url(images/cursor-editorFreeText.svg) 0 16, text; /*#endif*/ --editorFreeText-editing-cursor: url(images/cursor-editorFreeText.svg) 0 16, text;
unconditionally.
13afb81
to
f3bdbed
Compare
/botio integrationtest |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/9e157273a76cc68/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/479fef8a216a9a3/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/479fef8a216a9a3/output.txt Total script time: 6.04 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/9e157273a76cc68/output.txt Total script time: 18.42 mins
|
No description provided.