-
Notifications
You must be signed in to change notification settings - Fork 287
Full res out john905 #97
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
Conversation
Oh, did this not work out? Thanks! |
I didn't mean to make the pull request for publiclab, I just wanted to update my repository. I still need to test. |
oh, ok! but for what it's worth we love seeing progress in PRs and can
sometimes help out a bit if you share early. Thanks and good luck!
…On Tue, May 8, 2018 at 5:58 PM, John905 ***@***.***> wrote:
I didn't mean to make the pull request for publiclab, I just wanted to
update my repository. I still need to test.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ8eGD7dvsRbcC3f2gfFfBWb6xSqVks5twhTwgaJpZM4T3VK8>
.
|
Reopened for review |
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.
Awesome looking, here! Tell me what you think!
src/edit/DistortableImage.Edit.js
Outdated
/* Run on image deseletion. */ | ||
removeHooks: function() { | ||
removeHooks: function () | ||
{ |
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.
This is looking really nice! Actually we kind of prefer in-line syntax for these -- function() {
-- thanks!
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.
I can fix that - I'm still in that habit from what I do with C# - I think VS might have done it for me.
q = new L.Point( | ||
Math.cos(angle)*p.x - Math.sin(angle)*p.y, | ||
Math.sin(angle)*p.x + Math.cos(angle)*p.y | ||
Math.cos(angle) * p.x - Math.sin(angle) * p.y, |
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.
thanks!
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.
This might have been VS too.
@@ -0,0 +1,186 @@ | |||
var gl; |
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.
Oof -- are these required for the testing? I think we could push for webgl-distort
to include testing rather than testing an external module. I wrote the upstream so that's on me... what do you think? I do agree it's good that it have tests.
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.
D'oh! I meant to remove these (canvas and texture) - they're left from when I was playing with bringing in the extra files.
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.
aha do we still need to remove these? Could be almost there!
Appears to be functional now
I think this is working as required. Had 2 problems at the end - 1) the overlay corners correspond to a "Z" pattern on the image vs a clockwise pattern for warpable.nodes in map.js. 2) Chrome seems to cache scripting(?) even after an iisreset. |
Ooh - good call on the ordering. Is there anywhere we could/should update the documentation on that to make it more clear? Hm, did you end up removing the tests or is something else failing? I can take a look if you like? This is going to be awesome. |
I'll take a look at the docs - I'm not sure if there is an inconsistency in here since the warpables came from a .rb that isn't included. |
I think so!
…On Thu, May 10, 2018, 5:11 PM John905 ***@***.***> wrote:
I'll take a look at the docs - I'm not sure if there is an inconsistency
in here since the warpables came from a .rb that isn't included.
I took out the two glfx scripts that aren't actually needed and put the
refs in index.html - should I update the htmls with those references?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ5Hj33vJjYAHq5eZcV8kk-2xUtxzks5txKz1gaJpZM4T3VK8>
.
|
6b0a57f
to
8bd9e68
Compare
Ok, I added in the htmls with the js references. Last time I updated package.json to include glfx-js and webgl-distort as dependencies. |
Just noticed |
D'oh! I removed it from my main instead of the current branch - think I have it now. |
OK now i think just have to add the library to this list of includes for the tests to pass: Leaflet.DistortableImage/test/karma.conf.js Lines 17 to 35 in a98dab0
|
0c3af62
to
052cb8d
Compare
Hi, just checking if you've gotten stuck on this at all, or if I could help in any way? Thanks! |
Sorry, I started a new job and lost track of this - I finished it as far as I can tell, but I don't think I submitted a pull request. |
OK - thanks! I opened a clean copy here: #100 Thank you!!! |
Update moves reference to glfx-js and webgl-distort to the html rather than trying to pull in the files directly