Skip to content

Commit 30536a6

Browse files
committed
info sort overlay: remove check for unused Labor tab
There hasn't been a LABOR tab sort overlay since 50.12. The WORK_DETAIL overlay was removed in 4c92876. That commit was part of 50.12-r1~34. The DF 50.12 release notes say that work detail sorting and searching was added, and the DFHack 50.12-r1 release notes say that search widgets were removed for screens that gained native search. https://store.steampowered.com/news/app/975370/view/4136064865380703752 https://docs.dfhack.org/en/stable/docs/NEWS.html#dfhack-50-12-r1
1 parent 6eaf98b commit 30536a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/lua/sort/info.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,7 @@ end
292292

293293
function get_panel_offsets()
294294
local tabs_in_two_rows = is_tabs_in_two_rows()
295-
local shift_right = info.current_mode == df.info_interface_mode_type.ARTIFACTS or
296-
info.current_mode == df.info_interface_mode_type.LABOR
295+
local shift_right = info.current_mode == df.info_interface_mode_type.ARTIFACTS
297296
local l_offset = (not tabs_in_two_rows and shift_right) and 4 or 0
298297
local t_offset = 1
299298
if tabs_in_two_rows then

0 commit comments

Comments
 (0)