Fixed message texture size logic
This commit is contained in:
parent
aae1377a42
commit
d5630d72de
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue