You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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).
The text was updated successfully, but these errors were encountered:
I don't think this should be "fixed", as doing so is effectively reintroducing the bug. Formspecs should remain the same size whether real coordinates are used or not. (and I mean the set size, not the visual size)
Also there is a simple fix for it:
Can be fixed ingame by adding: {command = "set", width = 13, height = 10}
It might be good to mention it in the documentation though.
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 thesize
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:
digistuff/touchscreen.lua
Line 3 in b2369b3
digistuff/touchscreen.lua
Lines 121 to 122 in a49e4dd
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).
The text was updated successfully, but these errors were encountered: