Skip to content

Commit

Permalink
Remove ineffective window background rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Nov 2, 2023
1 parent f66b543 commit 768709f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions android/src/toga_android/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ def get_image_data(self):
Bitmap.Config.ARGB_8888,
)
canvas = A_Canvas(bitmap)
background = self.native_content.getBackground()
if background:
background.draw(canvas)
# TODO: Need to draw window background as well as the content.
self.native_content.draw(canvas)

stream = ByteArrayOutputStream()
Expand Down

0 comments on commit 768709f

Please sign in to comment.