-
Notifications
You must be signed in to change notification settings - Fork 222
Use constructor Image(Device, ImageDataProvider) for Radial gradients #3040
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
base: master
Are you sure you want to change the base?
Use constructor Image(Device, ImageDataProvider) for Radial gradients #3040
Conversation
This PR does not cause a visual impact but is meant for completeness to Replace Image(Device, ImageData) with Imagde(Device, ImageDataProvider) making sure the earlier behaviour is preserved
This pull request changes some projects for the first time in this development cycle.
An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patch
Further information are available in Common Build Issues - Missing version increments. |
// + (System.currentTimeMillis() - startTime) + " ms"); | ||
gradientImage = new Image(control.getDisplay(), imagedata); | ||
ImageDataProvider imageDataProvider = zoom -> { | ||
float scaleFactor = zoom / 100.0f; |
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.
can also just say 100f
The CI builds seem to be failing because of the version inconsistency. Can you have a look at the logs? |
This PR does not cause a visual impact but is meant for completeness to replace
Image(Device, ImageData)
withImage(Device, ImageDataProvider)
, making sure the earlier behaviour is preserved.Steps to reproduce
The radial gradients are in the CSS selector.
Screenshot