-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Fix image resize filter from object #2164
Conversation
couple of test needed |
|
||
if (options.filters) { | ||
this.filters = options.filters; | ||
this.applyFilters(); |
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.
How would the filters be applied now during image initialization?
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.
Oh, I see your explanation. Sorry, got it!
After tests, I'm ready to merge then! |
@kangax any help on why the test is failing? it gives no clue. The row is:
|
|
@kangax it is finally done. |
Fix image resize filter from object
+Changelog |
Note on changes on image initialize:
We are calling initElement, that calls setElement, that is calling initConfig and applyFilters.
So the part after this is just duplicated.