diff --git a/sbapp/ui/messages.py b/sbapp/ui/messages.py index 51cd727..e802366 100644 --- a/sbapp/ui/messages.py +++ b/sbapp/ui/messages.py @@ -411,7 +411,7 @@ class Messages(): def check_textures(w, val): try: - if w.texture_size[1] > 360 and w.texture_size[1] >= self.max_texture_size: + if w.texture_size[0] > 360 and w.texture_size[1] >= self.max_texture_size: w.text = "[i]The content of this message is too large to display in the message stream. You can copy the message content into another program by using the context menu of this message, and selecting [b]Copy[/b].[/i]" if w.owner.has_image: