-
Notifications
You must be signed in to change notification settings - Fork 11
Description
The default size of the formspec changed from width 13 and height 10 to width 10 and height 8
I did some testing, and this is actually a bug with the old touchscreens when real coordinates are enabled. They have always been 10 by 8, but because the real_coordinates element was not placed immediately after the size element, it caused the formspec to be bigger than it was supposed to be.
See here, the size before and after the rewrite is the same:
Line 3 in b2369b3
| local fs = "size[10,8]".. |
Lines 121 to 122 in a49e4dd
| local width = tonumber(meta:get_string("width")) or 10 | |
| local height = tonumber(meta:get_string("height")) or 8 |
Originally posted by @OgelGames in #25 (comment)
This should be fixed (it is irrelevant if it was "bug" in original, behavior can probably be restored without reintroducing invalid use of real_coordinates).