dfhack/library/lua
Timur Kelman 07f54deb0b
fix wrong `Label.frame_body.x2` value (#2134)
* fix wrong `Label.frame_body.x2` value

`update_scroll_inset` might change `frame_inset`, i.e. we need to `computeFrame` with the new values.

* add tests for Label

* add missing `local`, remove code in comments

* move `TestFramedScreen` outside test functions
2022-05-27 15:25:17 -07:00
..
3rdparty alt_getopt.lua: allow `?` as an option 2021-08-21 13:39:10 +02:00
dfhack only reset extents if they are unusable 2020-12-16 11:10:47 -08:00
gui fix wrong `Label.frame_body.x2` value (#2134) 2022-05-27 15:25:17 -07:00
json Lua: Indent array values 2015-03-22 14:04:03 -04:00
test_util Add mock.observe_func(), improve mock.lua documentation 2022-05-27 00:33:44 -04:00
argparse.lua Document and update argparse module (#2089) 2022-04-11 16:16:55 -07:00
binpatch.lua binpatch.lua: check for empty patches 2018-01-31 09:57:11 -05:00
class.lua Add a script to complement the weapon rack binary patch. 2012-10-27 20:16:27 +04:00
custom-raw-tokens.lua Added custom-raw-tokens utility (#2038) 2022-04-29 08:39:59 -07:00
dfhack.lua protect against 0 width in string:wrap() 2022-04-29 11:29:19 -07:00
dumper.lua Fix whitespace issues 2015-02-14 22:53:06 -05:00
gui.lua add scroll icons to Label widget (#2101) 2022-04-29 06:55:08 -07:00
json.lua json: Improve IO-related error messages 2017-12-25 14:40:06 -05:00
luacov_helper.lua call luacov.runner.init directly and clean up dbg 2021-03-07 08:16:24 -08:00
makeown.lua fix of relations errors. 2017-04-24 07:07:08 -05:00
memscan.lua Fix out-of-bounds access in memscan.field_offset() 2021-08-10 11:26:06 -04:00
persist-table.lua persist-table bug. 2014-12-07 07:56:33 -05:00
profiler.lua Port profiler to lua 5.3 and dfhack 2018-06-06 19:18:18 +03:00
repeat-util.lua Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
syndrome-util.lua Added function to remove syndrome wound data 2018-04-20 17:14:03 +02:00
tile-material.lua Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
utils.lua migrate existing lua code to use new library fns 2021-07-05 15:48:51 -07:00