Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Use natural size instead of height/width #70

Merged
merged 3 commits into from Aug 29, 2016
Merged

Conversation

Ben3eeE
Copy link
Contributor

@Ben3eeE Ben3eeE commented Aug 28, 2016

Fixes #68 by using naturalWidth and naturalHeight w3schools instead of width/height functions. These properties sounds exactly like what we want. The width/height functions like to return 0 for hidden things which might be the case when another ImageEditor is active in the pane.

@lee-dohm
Copy link
Contributor

Thanks for the fix 😀

@Ben3eeE Ben3eeE deleted the natural-size branch August 30, 2016 06:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants