-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
scene2d image without drawable #485
Comments
If an image without a drawable can exist and might make sense for some use cases, it should be possible to create with the DSL. This might be an oversight, but it can be easily amended without breaking the API. |
- revert drawableName change - fix asterisk import
* (#485) make drawableName optional for scene2d image factory * (#485) make drawable optional for scene2d image factory - revert drawableName change - fix asterisk import --------- Co-authored-by: Simon Klausner <[email protected]>
Will be fixed by the linked PR above |
Hi,
right now the
image
scene2d extension requires a non-nullDrawable
:However, it is valid to pass "null" as a drawable and this can be useful if the real drawable is set later on but you still want to add the image to the table to have the correct layout.
Would it be okay to make it
Drawable?
instead ofDrawable
? This might be also true for other extensions with drawables but I did not check them all.Or is there a different solution to it?
The text was updated successfully, but these errors were encountered: