FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(image): apply tintColor correctly on iOS by manoldonev · Pull Request #5546 · NativeScript/NativeScript · GitHub

fix(image): apply tintColor correctly on iOS - #5546

Merged
manoldonev merged 1 commit into
masterfrom
ddfreiling/ios-image-tintcolor
Mar 15, 2018
Merged

manoldonev merged 1 commit into
masterfrom
ddfreiling/ios-image-tintcolor

Conversation

Copy link
Copy Markdown
Contributor

NOTE: Cherry-picked from #5266 due to CI infrastructure issues with the original PR.

Fixes #4778

Previously image was reset on every second call to setTintColor, which led to some weird behavior on iOS. Especially since setTintColor could be called many times, when set through property or style.

It now only resets image to non-template when tintColor is changed to a non-color value (e.g. removed).

NOTE: Fix for Android Image.tintColor here: NativeScript/tns-core-modules-widgets#110

only reset image to non-template when tintColor is changed to a non-color (removed)

Copy link
Copy Markdown
Contributor Author

👍 for PR

manoldonev merged commit 75ee84c into master Mar 15, 2018
ghost removed the in progress label Mar 15, 2018
manoldonev deleted the ddfreiling/ios-image-tintcolor branch March 15, 2018 16:41

Copy link
Copy Markdown
Contributor

@manoldonev Thanks for getting this merged ❤️

lock Bot commented Aug 26, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock Bot locked and limited conversation to collaborators Aug 26, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Using tint-color on images not working properly

3 participants


Back | FazBrowse Home | New Git URL