diff --git a/screen.js b/screen.js index 071fb98..3744d88 100644 --- a/screen.js +++ b/screen.js @@ -165,6 +165,7 @@ var $builtinmodule = function (name) { Object.defineProperty(mod, 'T', { get: function () { return toPy(lc_instance ? lc_instance.T : (window.T || 0)); } }); Object.defineProperty(mod, 'W', { get: function () { return toPy(lc_instance ? lc_instance.W : (window.W || 0)); } }); Object.defineProperty(mod, 'H', { get: function () { return toPy(lc_instance ? lc_instance.H : (window.H || 0)); } }); + Object.defineProperty(mod, 'DT', { get: function () { return toPy(lc_instance ? lc_instance.dt : (window.dt || 0)); } }); Object.defineProperty(mod, 'MX', { get: function () { let mx = lc_instance ? lc_instance.MX : (window.MX || -1);