Skip to content

Commit

Permalink
multilang label things
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenJon902 committed Jun 2, 2021
1 parent 020c3e8 commit 78c9cf4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions graphics/customWidgets/multiLangLabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@ def do_texture(self):
self._label.color = self.color

self._label.texture_update()
self.texture = self._label.texture
self.texture: Texture
try:
self.texture: Texture = self._label.texture
if self.texture:
self.texture.bind()
# TODO: Find a better way that doesnt slow down the window but still makes the texture not go black
except AttributeError:
pass
# self.source = "./ResourceFiles/Textures/buttons/chests.png"

def on_color(self, _instance, _value):
Expand Down

0 comments on commit 78c9cf4

Please sign in to comment.