Follow-up Comment #8, bug #17399 (project wesnoth):
In trunk r48511 the behavior is now that a lua error "image doesn't fit on
canvas" is thrown by the code below. I do not think this is a good idea; the
same code can throw and not throw it dependant just on the screen resolution
(yes, tried it). A lua error causes the rest of the wml event commands to be
discarded, thus an addon author can be in great trouble with this solution.
People will report it since it breaks the addon for their setup and I can't do
something about it since i'd need to detect their screen settings to provide
the correct image size.
I didn't test it at that point, but from what silene's commit sounds it seems
that he made it so that the image can exceed the top of the window instead and
is just cut off then.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17399>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs