-
Notifications
You must be signed in to change notification settings - Fork 10k
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] Refactor the free highlight stuff in order to be able to use the code for more general drawing #18972
Conversation
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/2fd674e68e601d9/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/4ab2c71b2710774/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/4ab2c71b2710774/output.txt Total script time: 32.17 mins
Image differences available at: http://54.241.84.105:8877/4ab2c71b2710774/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/2fd674e68e601d9/output.txt Total script time: 51.32 mins
Image differences available at: http://54.193.163.58:8877/2fd674e68e601d9/reftest-analyzer.html#web=eq.log |
40254c9
to
a0884ae
Compare
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/162672a15b2bc92/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/79624feb52bf069/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/79624feb52bf069/output.txt Total script time: 30.82 mins
Image differences available at: http://54.241.84.105:8877/79624feb52bf069/reftest-analyzer.html#web=eq.log |
a0884ae
to
e715951
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/d34dfa1b16d72c0/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 1 Live output at: http://54.193.163.58:8877/dc02f75b98a24e7/output.txt |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/162672a15b2bc92/output.txt Total script time: 50.89 mins
Image differences available at: http://54.193.163.58:8877/162672a15b2bc92/reftest-analyzer.html#web=eq.log |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/d34dfa1b16d72c0/output.txt Total script time: 30.86 mins
Image differences available at: http://54.241.84.105:8877/d34dfa1b16d72c0/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/dc02f75b98a24e7/output.txt Total script time: 51.09 mins
|
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.
r=me, with comments; thank you.
… the code for more general drawing One goal is to make the code for drawing with the Ink tool similar to the one to free highlighting: it doesn't really make sense to have so different ways to do almost the same thing. When the zoom level is high, it'll avoid to create a too big canvas covering all the page which consume more memory, makes the drawing very slow and the overall user xp pretty bad. A second goal is to be able to easily implement more drawing tools where we would just have to implement how to draw from the pointer coordinates.
e715951
to
5a9607b
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/d8bac80e06809a8/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/0fd9914372ffce3/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/d8bac80e06809a8/output.txt Total script time: 32.02 mins
Image differences available at: http://54.241.84.105:8877/d8bac80e06809a8/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/0fd9914372ffce3/output.txt Total script time: 45.81 mins
|
One goal is to make the code for drawing with the Ink tool similar to the one to free highlighting:
it doesn't really make sense to have so different ways to do almost the same thing.
When the zoom level is high, it'll avoid to create a too big canvas covering all the page which consume
more memory, makes the drawing very slow and the overall user xp pretty bad.
A second goal is to be able to easily implement more drawing tools where we would just have to implement
how to draw from the pointer coordinates.