Skip to content

Conversation

@FoamyGuy
Copy link
Collaborator

@FoamyGuy FoamyGuy commented Aug 7, 2021

Ref: #1747

This removes the with context for opening the message background image in order to lessen the changes needed for the CP7 version which can how have the filename passed to OnDiskBitmap constructor instead an open file handle.

The changes shown in the github interface look more substantial than they really are since much of is un-indented from the removal of with context.

Tested on PyGamer with 7.0.0 alpha5

Guide: https://learn.adafruit.com/creating-your-first-tilemap-game-with-circuitpython/overview
No changes needed in the guide. The only place that references OnDiskBitmap is in the github embed.

@FoamyGuy FoamyGuy requested a review from TheKitty August 7, 2021 22:12
@FoamyGuy FoamyGuy mentioned this pull request Aug 7, 2021
17 tasks
@TheKitty TheKitty merged commit 178a199 into adafruit:main Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants